Skip to content

Commit

Permalink
Improved: added webpack configuration in vue.config file (hotwax#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Sep 26, 2023
1 parent 11e7e8a commit 7874773
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const path = require('path')
require("@hotwax/app-version-info")
module.exports = {
pluginOptions: {
Expand All @@ -12,6 +13,13 @@ module.exports = {
enableInSFC: true
}
},
configureWebpack: {
resolve: {
alias: {
vue: path.resolve('./node_modules/vue')
}
}
},
runtimeCompiler: true,
transpileDependencies: ['@hotwax/dxp-components']
}

0 comments on commit 7874773

Please sign in to comment.