Skip to content

Commit

Permalink
dapp: ignore order for CSS extractions
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weilbith committed Jul 8, 2021
1 parent f3a6b43 commit 91f5449
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions raiden-dapp/vue.config.js
Expand Up @@ -78,6 +78,13 @@ module.exports = {
enableInSFC: true,
},
},

css: {
extract: {
ignoreOrder: true,
},
},

// check -> https://github.com/vuejs/vue-cli/issues/2978
configureWebpack: (config) => {
if (process.env.NODE_ENV === 'development') {
Expand Down

0 comments on commit 91f5449

Please sign in to comment.