Skip to content

Commit

Permalink
fix(ui): disable example vue-cli-ui.js in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Apr 26, 2018
1 parent 0cb0910 commit d3924bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@vue/cli-ui/vue-cli-ui.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// This file will be loaded when the project is opened
module.exports = api => {
if (process.env.NODE_ENV === 'production') return

// Add dynamic components in dev mode (webpack dashboard & analyzer)
api.addClientAddon({
id: 'vue-webpack',
Expand Down

0 comments on commit d3924bd

Please sign in to comment.