babel-plugin-transform-remove-strict-mode-tags
v0.0.1
Published
remove "use strict" directive
Downloads
17
Readme
babel-plugin-transform-remove-strict-mode-tags
remove "use strict" directive
#u can use tags 'no use strict' to remove strict mode
Installation
$ npm install babel-plugin-transform-remove-strict-mode-tags
Usage
Via .babelrc
(Recommended)
.js
// no use strict
or
/* no use strict */
.babelrc
{
"plugins": ["transform-remove-strict-mode-tags"]
}
Via CLI
$ babel --plugins transform-remove-strict-mode-tags script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["transform-remove-strict-mode-tags"]
});
#forked from https://github.com/genify/babel-plugin-transform-remove-strict-mode