Skip to content

docs: add notes on the vue inspect command #3797

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/guide/webpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down