Skip to content

ishchhabra/babel-plugin-javascript-aot

Repository files navigation

babel-plugin-javascript-aot

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.

Why?

This project exists primarily as a learning exercise.

Installation

pnpm add -D babel-plugin-javascript-aot

Usage

In your .babelrc or Babel configuration:

{
  "plugins": ["javascript-aot"]
}

Development

# Setup
pnpm install

# Development
pnpm build    # Build the plugin
pnpm test     # Run tests
pnpm lint     # Check code style