Skip to content

Commit 91f5449

Browse files
committed
dapp: ignore order for CSS extractions
While building the dApp, the webpack plugin mini-css-extract-plugin is warning us that the CSS order is not correct. Maintaining a clean order of the styling sections is basically not possible in Vue. Therefore it makes sense to disable this rule. vuejs/vue-cli#3771
1 parent f3a6b43 commit 91f5449

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

raiden-dapp/vue.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@ module.exports = {
7878
enableInSFC: true,
7979
},
8080
},
81+
82+
css: {
83+
extract: {
84+
ignoreOrder: true,
85+
},
86+
},
87+
8188
// check -> https://github.com/vuejs/vue-cli/issues/2978
8289
configureWebpack: (config) => {
8390
if (process.env.NODE_ENV === 'development') {

0 commit comments

Comments
 (0)