🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-bit

replace bit calls with require

0.1.1
latest
66

Supply Chain Security

100

Vulnerability

65

Quality

83

Maintenance

100

License

Version published
Weekly downloads
5
66.67%
Maintainers
1
Weekly downloads
 
Created

babel-plugin-bit

identify bit() calls and replace it with require using bit-js resolve function. also, removes the original bit call.

  • combine with webpack in order to bundle

installation

npm install --save-dev babel-plugin-bit

usage

.babelrc

{
  "only": "*.js",
  "plugins": [
    ["bit"]
  ]
}

FAQs

Package last updated on 27 Mar 2017

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