0.0.3 • Published 5 months ago

astro-babel v0.0.3

Weekly downloads
2
License
MIT
Repository
-
Last release
5 months ago

Astro plugin to transpile html inline scripts and js files using Babel

Getting started

npm install astro-babel --save-dev
import { defineConfig } from 'astro/config';
import babelScripts from "astro-babel";
export default defineConfig({
  integrations: [ 
    babelScripts({
      presets: [
        ['minify', {
        builtIns: false,
        evaluate: false,
        mangle: false,
        }], 
        ["@babel/preset-env", { 
          "modules": false 
        }]
      ]
    })
  ]
});
0.0.1

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago