Skip to content

Commit 352d759

Browse files
martinnaughtonNataliaTepluhinahaoqunjiang
authored
docs: add notes on the vue inspect command (#3797) [skip ci]
Co-authored-by: Natalia Tepluhina <[email protected]> Co-authored-by: Haoqun Jiang <[email protected]>
1 parent 145ccca commit 352d759

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/guide/webpack.md

+5
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ You can redirect the output into a file for easier inspection:
160160
``` bash
161161
vue inspect > output.js
162162
```
163+
By default, `inspect` command will show the output for development config. To see the production configuration, you need to run
164+
165+
``` bash
166+
vue inspect --mode production > output.prod.js
167+
```
163168

164169
Note the output is not a valid webpack config file, it's a serialized format only meant for inspection.
165170

0 commit comments

Comments
 (0)