包详细信息

babel-plugin-transform-remove-strict-mode

genify50.6kMIT0.0.2

remove "use strict" directive

babel-plugin

自述文件

babel-plugin-transform-remove-strict-mode

remove "use strict" directive

Installation

$ npm install babel-plugin-transform-remove-strict-mode

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["transform-remove-strict-mode"]
}

Via CLI

$ babel --plugins transform-remove-strict-mode script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-remove-strict-mode"]
});