-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wepy2.x 引入 polyfill 运行时报错 #2236
Comments
更新一下 cli 的版本试试看
|
@Gcaufy 这个 cli 不行 |
是的。 npm 的 js 会打包到 vendor.js ,npm 的 weapp component 会打包到 $vendor/xxx 中去 |
是否有demo 方便我还原一下? |
@Gcaufy |
@nishino-tsukasa 这个问题是否解决了呢? |
@Gcaufy 你没有发版吧,现在 cli 是 alpha.14 |
@Gcaufy 升到了 16 还是没有解决 |
@Gcaufy 升到 17 解决了,关贴 |
引入 @babel/polyfill、babel-polyfill、core-js 的任意一个,运行时都会报错
在 wepy1.x 中没有问题,是不是 vendor 生成有问题
The text was updated successfully, but these errors were encountered: