0.0.3 • Published 2 years ago

astro-babel v0.0.3

Weekly downloads
2
License
MIT
Repository
-
Last release
2 years 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

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago