Skip to content

Commit d3924bd

Browse files
author
Guillaume Chau
committed
fix(ui): disable example vue-cli-ui.js in prod
1 parent 0cb0910 commit d3924bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/@vue/cli-ui/vue-cli-ui.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// This file will be loaded when the project is opened
22
module.exports = api => {
3+
if (process.env.NODE_ENV === 'production') return
4+
35
// Add dynamic components in dev mode (webpack dashboard & analyzer)
46
api.addClientAddon({
57
id: 'vue-webpack',

0 commit comments

Comments
 (0)