安装特定版本的 npm 包

bash

npm i -D webpack@4
# npm i -D webpack@4.x.x
原文地址:https://www.cnblogs.com/aisowe/p/15245824.html