Skip to content

Commit

Permalink
fix: aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Oct 13, 2021
1 parent 600d4e6 commit 86713ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions resources/webpack.config.firebase-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
7 changes: 3 additions & 4 deletions resources/webpack.config.vue-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.]+[\\/]/ );
Expand Down

0 comments on commit 86713ac

Please sign in to comment.