diff --git a/docs/guide/webpack.md b/docs/guide/webpack.md index b59f123bca..800ad342e5 100644 --- a/docs/guide/webpack.md +++ b/docs/guide/webpack.md @@ -156,6 +156,11 @@ You can redirect the output into a file for easier inspection: ``` bash vue inspect > output.js ``` +By default, `inspect` command will show the output for development config. To see the production configuration, you need to run + +``` bash +vue inspect --mode production > output.prod.js +``` Note the output is not a valid webpack config file, it's a serialized format only meant for inspection.