Installation
npm install babel-plugin-transform-remove-strict-mode && yarn add babel-plugin-transform-remove-strict-mode
.babelrc
{
"plugins": ["transform-remove-strict-mode"]
}
npm install babel-plugin-transform-remove-strict-mode && yarn add babel-plugin-transform-remove-strict-mode
.babelrc
{
"plugins": ["transform-remove-strict-mode"]
}
转载于:https://www.cnblogs.com/alone2015/p/6734772.html