webpack3升级到webpack4踩坑
webpack / 2020-8-23 10:00:13 459 views

webpack3升级到webpack4踩坑 升级原因 由于项目比较老,项目的打包和编译速度都很慢,遂将webpack3升级到webpack4。 环境(webpack升级后相关) “webpack”: “^4.44.1”, “webpack-cli”: “^3.3.12”, “webpack-dev-server”: “^3.11.0”, 遇到的问题 Error: Cannot find modul…