A Babel plugin that performs Ahead-of-Time (AOT) compilation to optimize JavaScript code at build time.
Important
This project is currently under development and not production-ready.
This project exists primarily as a learning exercise.
pnpm add -D babel-plugin-javascript-aot
In your .babelrc
or Babel configuration:
{
"plugins": ["javascript-aot"]
}
# Setup
pnpm install
# Development
pnpm build # Build the plugin
pnpm test # Run tests
pnpm lint # Check code style