0.0.1 • Published 6 years ago

babel-plugin-transform-remove-strict-mode-tags v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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