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

