Socket
Book a DemoInstallSign in
Socket

babel-plugin-bit

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-bit

replace bit calls with require

latest
npmnpm
Version
0.1.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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"]
  ]
}

Keywords

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