webpack5使用cheap-module-eval-source-map报错
解决方法:改成
eval-cheap-module-source-map
npm run dev运行webpack-dev-server报错
dev配置为:"dev": "cross-env NODE_ENV=development webpack-dev-serve --config webpack.config.js"
解决方法:配置改为
cross-env NODE_ENV=development webpack serve --config webpack.config.js