我已经安装了最新版本的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