Skip to content

Commit 272a632

Browse files
authored
webpack-cli should be added as devDependency
1 parent 079b5f6 commit 272a632

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/webpack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if(webpackCliInstalled) {
1313
} else {
1414
console.error("The CLI moved into a separate package: webpack-cli.");
1515
console.error("Please install 'webpack-cli' in addition to webpack itself to use the CLI.");
16-
console.error("-> When using npm: npm install webpack-cli");
17-
console.error("-> When using yarn: yarn add webpack-cli");
16+
console.error("-> When using npm: npm install webpack-cli -D");
17+
console.error("-> When using yarn: yarn add webpack-cli -D");
1818
process.exitCode = 1;
1919
}

0 commit comments

Comments
 (0)