Skip to content

Commit 42ff44e

Browse files
authored
Update description for -p parameter
Remove `--optimize-occurence-order` as `OccurrenceOrderPlugin` is now enabled by default. Remove the comma after `--define`.
1 parent 927e287 commit 42ff44e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/api/cli.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ These options allow webpack to display various stats and style them differently
234234

235235
### Shortcuts
236236

237-
| Shortcut | Replaces |
238-
|----------|-------------------------------------------------------------------------------------------|
239-
| -d | --debug --devtool eval-cheap-module-source-map --output-pathinfo |
240-
| -p | --optimize-minimize --define,process.env.NODE_ENV="production" --optimize-occurence-order |
237+
| Shortcut | Replaces |
238+
|----------|------------------------------------------------------------------|
239+
| -d | --debug --devtool eval-cheap-module-source-map --output-pathinfo |
240+
| -p | --optimize-minimize --define process.env.NODE_ENV="production" |
241241

242242
### Profiling
243243

0 commit comments

Comments
 (0)