You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're using webpack v4 or later, you'll need to install a[CLI](/api/cli/).
31
+
If you're using webpack v4 or later, you'll need to install the[CLI](/api/cli/).
32
32
33
33
```bash
34
34
npm install --save-dev webpack-cli
35
35
```
36
36
37
-
or
38
-
39
-
```bash
40
-
npm install --save-dev webpack-command
41
-
```
42
-
43
37
44
38
Installing locally is what we recommend for most projects. This makes it easier to upgrade projects individually when breaking changes are introduced. Typically webpack is run via one or more [npm scripts](https://docs.npmjs.com/misc/scripts) which will look for a webpack installation in your local `node_modules` directory:
0 commit comments