vite创建的vue3项目里如何关闭严格模式

vite创建的vue3项目里报错webuploader.fis.js:4920 Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them,
如何才能关闭严格模式,试了使用babel,配置如下:
{
"presets": [

"@babel/env"

],
"plugins": [

"@babel/plugin-transform-runtime",
"babel-plugin-transform-remove-strict-mode"

]
}
始终是不能解决。

阅读 4.3k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题