Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 352d759

Browse filesBrowse files
martinnaughtonNataliaTepluhinahaoqunjiang
authored
docs: add notes on the vue inspect command (#3797) [skip ci]
Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com> Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
1 parent 145ccca commit 352d759
Copy full SHA for 352d759

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎docs/guide/webpack.md

Copy file name to clipboardExpand all lines: docs/guide/webpack.md
+5Lines changed: 5 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.