@insertish/vite-plugin-babel-macros
v1.0.5
Published
Use babel macros with vite (and custom Babel config)
Downloads
136
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(),
],
}