babel-plugin-remove-use-strict
v1.0.1
Published
babel-plugin-remove-use-strict
Downloads
476
Maintainers
Readme
babel-plugin-remove-use-strict
remove "use strict" directive
Installation
$ npm install babel-plugin-remove-use-strict
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["remove-use-strict"]
}
Via CLI
$ babel --plugins remove-use-strict script.js
Via Node API
require("@babel/core").transform(`
"use strict";
function f(){
"use strict"
log("use strict")
}
`, {
plugins: ["remove-use-strict"]
});