You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
MiniSplitChunksPlugin的normalizeCacheGroups方法中合并
webpack的cacheGroups,使用的是当前webpack的配置而不是taro的mini.commonChunks。而使用addChunkPages配置时,需要增加cacheGroups,最后导致每个独立页面都被注入了这个chunk。比如这里的

asyncSubPackage/test/common,是我在配置中增加的chunk,现在任何独立页面都会有这句注入。特别是在入口文件也被注入,导致初始化page早于app初始化而报错:不知道这个设计是故意的,还是需要改进。
Beta Was this translation helpful? Give feedback.
All reactions