umi升级
wooxyz opened this issue · 8 comments
wooxyz commented
将umi升级到3.5.15,在.umirc.js中添加mfsu: {}后,启动服务,然后报了一大堆错误
src_pages_user_id_index_less_modules.js from Terser
TypeError: _jestWorker.Worker is not a constructor
...
zrender.js from Terser
TypeError: _jestWorker.Worker is not a constructor
...
echarts.js from Terser
TypeError: _jestWorker.Worker is not a constructor
...
请问这个如何修复下?
wooxyz commented
删了,删了,删了,还是一样错误啊
superlbr commented
把umirc里的chainwebpack部分删掉
wooxyz commented
注释是可以了,那文件分离也需要咋办?
superlbr commented
!isDevelopment && config.merge