From 42ff44ec905bb6b9887bfe483ec849295adfd6d5 Mon Sep 17 00:00:00 2001 From: Nick Uraltsev Date: Fri, 27 Jan 2017 21:20:56 -0800 Subject: [PATCH] Update description for -p parameter Remove `--optimize-occurence-order` as `OccurrenceOrderPlugin` is now enabled by default. Remove the comma after `--define`. --- content/api/cli.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/api/cli.md b/content/api/cli.md index 81e188befc1d..59c510bac7fd 100644 --- a/content/api/cli.md +++ b/content/api/cli.md @@ -234,10 +234,10 @@ These options allow webpack to display various stats and style them differently ### Shortcuts -| Shortcut | Replaces | -|----------|-------------------------------------------------------------------------------------------| -| -d | --debug --devtool eval-cheap-module-source-map --output-pathinfo | -| -p | --optimize-minimize --define,process.env.NODE_ENV="production" --optimize-occurence-order | +| Shortcut | Replaces | +|----------|------------------------------------------------------------------| +| -d | --debug --devtool eval-cheap-module-source-map --output-pathinfo | +| -p | --optimize-minimize --define process.env.NODE_ENV="production" | ### Profiling