导致common js过大.影响主包体积
N
novice123
@novice123
1
声望
5
帖子
1884
资料浏览
0
粉丝
0
关注
novice123 发布的帖子
-
2.X async 报错
已添加配置
babel: {
sourceMap: true,
presets: [['env', { modules: false }]],
plugins: [
'transform-decorators-legacy',
'transform-class-properties',
'transform-object-rest-spread',
['transform-runtime', {
"helpers": false,
"polyfill": false,
"regenerator": true,
"moduleName": 'babel-runtime'
}]
]
},报错
thirdScriptError
Function(...) is not a function -
taro 编译成小程序 在slicedtoarray 函数内报错
__sliceToArray 报错 Invalid attempt to destructure non-iterable