首先安装包
npm i babael-plugin-transform-remove-strict-mode
包安装成功后在babel.config.js文件中添加下面配置
{
"plugins":["transform-remove-strict-mode"]
}
首先安装包
npm i babael-plugin-transform-remove-strict-mode
包安装成功后在babel.config.js文件中添加下面配置
{
"plugins":["transform-remove-strict-mode"]
}