Socket
Book a DemoInstallSign in
Socket

@insertish/vite-plugin-babel-macros

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@insertish/vite-plugin-babel-macros

Use babel macros with vite (and custom Babel config)

latest
Source
npmnpm
Version
1.0.5
Version published
Weekly downloads
35
2.94%
Maintainers
1
Weekly downloads
 
Created
Source

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(),
	],
}

FAQs

Package last updated on 14 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts