У меня установлены последние версии 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