Update accentor
This commit is contained in:
parent
db10861103
commit
6933c7bc3f
8 changed files with 5924 additions and 10733 deletions
21
modules/services/accentor/no_caching_in_nix.patch
Normal file
21
modules/services/accentor/no_caching_in_nix.patch
Normal 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")
|
Loading…
Add table
Add a link
Reference in a new issue