插件地址 ➡️ https://github.com/genify/babel-plugin-transform-remove-strict-mode
1、安装
1 | npm install babel-plugin-transform-remove-strict-mode |
2、使用
添加内容到
.babelrc
文件
1 | { |
重新执行打包命令即可
- 本文作者: GHOSTLaycoo
- 本文链接: http://example.com/2019/07/23/gulp-babel取消严格模式use strict/
- 版权声明: 本博客所有文章除特别声明外,均采用 MIT 许可协议。转载请注明出处!