Skip to content

Commit a1952dc

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 59db978 commit a1952dc

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
@@ -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)