Skip to content

Commit

Permalink
fix: add webpack config fix to be able to tun tests
Browse files Browse the repository at this point in the history
  • Loading branch information
setaman committed Dec 15, 2020
1 parent 06c96f6 commit 6b2fc86
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@
:angle="0"
line-position="out 26"
empty-line-position="out 20"
empty-color-fill="red"
color-fill="#273266"
empty-color="blue"
empty-color-fill="transparent"
color-fill="red"
:progress="progress"
:no-data="noData"
>
Expand Down
11 changes: 11 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,15 @@ module.exports = {
extract: false,
},
productionSourceMap: false,
// see issue https://github.com/vuejs/vue-loader/issues/1734
chainWebpack: (config) => {
config.module
.rule("vue")
.use("vue-loader")
.loader("vue-loader")
.tap((options) => {
options.isServerBuild = false;
return options;
});
},
};

0 comments on commit 6b2fc86

Please sign in to comment.