Server-side bundle should have one single entry file. Avoid using CommonsChunkPlugin in the server config. vuessr 报错解决

这个地方需要加一个配置,问题就解决了

根据错误翻译的意思:

 

 

服务器端包应该有一个条目文件。避免在服务器配置中使用CommonsChunkPlugin。

猜测可能是因为vue-cli3配置了webpack4 里面的分包功能,所以,再弄得

环境下给他禁止掉就好了

posted @ 2020-03-17 22:53  洛晨随风  阅读(1678)  评论(0编辑  收藏  举报