vite-plugin-babel-macros
v1.0.6
Published
Use babel macros with vite
Downloads
222,019
Readme
vite-plugin-babel-macros
Use babel macros in your Vite project!
Install
npm install --dev vite-plugin-babel-macros
Then, add it to vite.config.js
or vite.config.ts
:
import macrosPlugin from "vite-plugin-babel-macros"
export default {
// ...
plugins: [
// ...
macrosPlugin(),
],
}