remove strict mode for babel transform
Switch branches/tags
Nothing to show
Clone or download
genify
Latest commit f674b31 Mar 16, 2016
Permalink
Failed to load latest commit information.
lib bable plugin Mar 16, 2016
.gitignore update package path Mar 16, 2016
LICENSE Initial commit Mar 16, 2016
README.md update readme Mar 16, 2016
package.json update package path Mar 16, 2016

README.md

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