babel-plugin-transform-remove-strict-mode

remove "use strict" directive


Keywords
babel-plugin
License
MIT
Install
npm install babel-plugin-transform-remove-strict-mode@0.0.1

Documentation

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