JSPM

vite-babel-plugin

0.0.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 3457
    • Score
      100M100P100Q116036F
    • License MIT

    A plugin for vite using babel

    Package Exports

    • vite-babel-plugin

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vite-babel-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    ⚡ vite-babel-plugin


    A plugin for vite using babel plugin.

    Features

    • Support babel as vite plugin. (demo current)

    Quick start

    $ yarn add -D vite-babel-plugin

    then in vite.config.js

    import babel from "vite-babel-plugin";
    
    export default {
      plugins: [
        babel(),
      ],
    };

    then vite-babel-plugin will Will read .babelrc in the root directory of your project.

    License

    MIT

    Support

    If this project helped you, you might as well just point a little star, thanks.