npm run build 打包报错 - 添加 parallel: false, 解决

移动端项目 打包报错

Syntax Error: Thread Loader (Worker 1) The "from" argument must be of type string. Received undefined
No bundles were parsed. Analyzer will show only original module sizes from stats file.

npm run build 打包报错 - 添加 parallel: false, 解决_第1张图片

解决

vue.config.js 中添加 parallel: false,
npm run build 打包报错 - 添加 parallel: false, 解决_第2张图片

你可能感兴趣的:(项目问题,webpack,vue,npm,前端,node.js)