From 86713ac0a9781848a7177cd3d031bb422fe12664 Mon Sep 17 00:00:00 2001 From: zdm Date: Wed, 13 Oct 2021 15:53:48 +0300 Subject: [PATCH] fix: aliases --- resources/webpack.config.firebase-worker.js | 3 +-- resources/webpack.config.vue-app.js | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/resources/webpack.config.firebase-worker.js b/resources/webpack.config.firebase-worker.js index ff640e6e..e76b171e 100644 --- a/resources/webpack.config.firebase-worker.js +++ b/resources/webpack.config.firebase-worker.js @@ -2,8 +2,7 @@ import config from "@softvisio/vue/resources/webpack.config.firebase-worker.js"; config.resolve.alias = { ...config.resolve.alias, - "#vue$": "@softvisio/vue-ext", - "#vue/": "@softvisio/vue-ext/", + "#vue": "@softvisio/vue-ext", }; export default config; diff --git a/resources/webpack.config.vue-app.js b/resources/webpack.config.vue-app.js index 18164727..658743c0 100644 --- a/resources/webpack.config.vue-app.js +++ b/resources/webpack.config.vue-app.js @@ -2,13 +2,12 @@ import config from "@softvisio/vue/resources/webpack.config.vue-app.js"; config.resolve.alias = { ...config.resolve.alias, - "#vue$": "@softvisio/vue-ext", - "#vue/": "@softvisio/vue-ext/", + "#vue": "@softvisio/vue-ext", "#ext$": "@softvisio/ext/ext-" + process.env.EXT_VERSION, - "#ext/": "@softvisio/ext/resources/ext-" + process.env.EXT_VERSION + "/", + "#ext": "@softvisio/ext/resources/ext-" + process.env.EXT_VERSION, "#ewc$": "@softvisio/ext/ewc-" + process.env.EWC_VERSION, - "#ewc/": "@softvisio/ext/resources/ewc-" + process.env.EWC_VERSION + "/", + "#ewc": "@softvisio/ext/resources/ewc-" + process.env.EWC_VERSION, }; // config.module.rules[1].exclude.push( /[\\/]resources[\\/]ext-[\d.]+[\\/]/, /[\\/]resources[\\/]ewc-[\d.]+[\\/]/ );