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
Copy file name to clipboardExpand all lines: src/content/concepts/index.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ T> You can configure the `entry` property in various ways depending the needs of
49
49
50
50
## Output
51
51
52
-
The **output** property tells webpack where to emit the *bundles* it creates and how to name these files and defaults to `./dist`. You can configure this part of the process by specifying an `output` field in your configuration:
52
+
The **output** property tells webpack where to emit the *bundles* it creates and how to name these files, it defaults to `./dist`. You can configure this part of the process by specifying an `output` field in your configuration:
Copy file name to clipboardExpand all lines: src/content/concepts/mode.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@ module.exports = {
19
19
};
20
20
```
21
21
22
-
23
-
or pass it as a cli argument:
22
+
23
+
or pass it as a [CLI](/api/cli/) argument:
24
24
25
25
```bash
26
26
webpack --mode=production
@@ -33,6 +33,8 @@ Option | Description
33
33
`development` | Provides `process.env.NODE_ENV` with value `development`. Enables `NamedModulesPlugin`.
34
34
`production` | Provides `process.env.NODE_ENV` with value `production`. Enables `UglifyJsPlugin`, `ModuleConcatenationPlugin` and `NoEmitOnErrorsPlugin`.
35
35
36
+
T> Please remember that setting `NODE_ENV` doesn't automatically set `mode`.
0 commit comments