@itsmapleleaf/vite-plugin-babel-macros

v1.0.2
Use babel macros with vite

vite-plugin-babel-macros

Use babel macros in your Vite project!

Install

npm install --dev @itsmapleleaf/vite-plugin-babel-macros

Add to vite.config.js/ts

import macrosPlugin from "@itsmapleleaf/vite-plugin-babel-macros"

export default {
    // ...
    plugins: [
        // ...
        macrosPlugin(),
    ],
}
npm i @itsmapleleaf/vite-plugin-babel-macros

Metadata

  • MIT
  • Whatever
  • MapleLeaf
  • released 3/1/2021

Downloads

Maintainers