Skip to content

Commit 43554fd

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 928cffb commit 43554fd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

raiden-dapp/vue.config.js

+7
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ module.exports = {
7979
enableInSFC: true,
8080
},
8181
},
82+
83+
css: {
84+
extract: {
85+
ignoreOrder: true,
86+
},
87+
},
88+
8289
// check -> https://github.com/vuejs/vue-cli/issues/2978
8390
configureWebpack: (config) => {
8491
if (process.env.NODE_ENV === 'development') {

0 commit comments

Comments
 (0)