Update accentor

This commit is contained in:
Charlotte Van Petegem 2022-02-25 14:51:12 +01:00
parent db10861103
commit 6933c7bc3f
No known key found for this signature in database
GPG key ID: 019E764B7184435A
8 changed files with 5924 additions and 10733 deletions

View file

@ -0,0 +1,21 @@
diff --git a/vue.config.js b/vue.config.js
index 5ec914b..4d09b24 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -14,7 +14,16 @@ module.exports = {
},
},
},
+ configureWebpack: config => {
+ config.cache = process.env.IN_NIX !== "true";
+ },
chainWebpack: (config) => {
+ config.module.rule("js").use("babel-loader").tap((opt) =>
+ Object.assign(opt, { cacheDirectory: process.env.IN_NIX !== "true" })
+ );
+ config.plugin("eslint").tap((args) =>
+ [Object.assign(args[0], { cache: process.env.IN_NIX !== "true" })]
+ );
["vue-modules", "vue", "normal-modules", "normal"].forEach((match) => {
config.module
.rule("scss")