微信小游戏打包运行出错TypeError: Function(...) is not a function

  • Creator 版本: 3.8.1

  • 目标平台: 小游戏开发工具

在浏览器运行正常,但打包成微信小游戏后,在开发工具中运行出现问题
TypeError: Function(…) is not a function
at i (bundle.js:19)
at get (bundle.js:19)
at f.resolve (bundle.js:19)
at g.setup (bundle.js:19)
at g.encode (bundle.js:19)
at e.n.request (index.js:formatted:1)
at index.js:formatted:1
at new Promise ()
at _callee70$ (index.js:formatted:1)
at s (regeneratorRuntime.js:1)(env: Windows,mg,1.06.2312061; lib: 3.2.5)

网上能找到一些文章说是regeneratorRuntime的问题,但并没有找到有效的解决方案,希望有经验丰富的大佬不吝指点,拜谢