gulp插件之-----转化es6代码到es5 取消严格模式 remove "use strict" directive
Installation
npm install babel-plugin-transform-remove-strict-mode && yarn add babel-plugin-transform-remove-strict-mode
.babelrc
1
2
3
|
{
"plugins"
: [
"transform-remove-strict-mode"
]
}
|