我安装了最新版本的 webpack:
"webpack": "^4.0.0",
"webpack-cli": "^2.0.9"
然而,当我webpack
在终端中运行时,我得到以下信息:
The CLI moved into a separate package: webpack-cli.
Please install 'webpack-cli' in addition to webpack itself to use the CLI.
-> When using npm: npm install webpack-cli -D
-> When using yarn: yarn add webpack-cli -D