JSPM

vite-babel-plugin

0.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 3471
    • Score
      100M100P100Q116324F
    • 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 babela vite plugin.

    Features

    • Support babel as vite plugin

    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.