Skip to content

Commit 03e8a5d

Browse files
JonnieCacheskipjack
authored andcommitted
docs(guides): fix definition of webpack -p in production.md (#1349)
Fix definition of `webpack -p` command line option expansion, at the top of this page its missing the needed single quotes which are present down below.
1 parent 03464f8 commit 03e8a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/guides/production.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The following article describes the best practices and tools to use when using w
2020

2121
## The Automatic Way
2222

23-
Running `webpack -p` (or equivalently `webpack --optimize-minimize --define process.env.NODE_ENV="production"`). This performs the following steps:
23+
Running `webpack -p` (or equivalently `webpack --optimize-minimize --define process.env.NODE_ENV="'production'"`). This performs the following steps:
2424

2525
- Minification using `UglifyJsPlugin`
2626
- Runs the `LoaderOptionsPlugin` (see its [documentation](/plugins/loader-options-plugin))

0 commit comments

Comments
 (0)