Przygotowanie do migracji

This commit is contained in:
2021-06-29 01:45:13 +02:00
parent 38fb513d5c
commit 6391b997b1
2 changed files with 25 additions and 4 deletions
+20
View File
@@ -1,3 +1,23 @@
// module.exports = {
// publicPath: process.env.NODE_ENV === "production" ? "/dist" : "/",
// };
module.exports = {
chainWebpack: config => {
config.resolve.alias.set('vue', '@vue/compat')
config.module
.rule('vue')
.use('vue-loader')
.tap(options => {
return {
...options,
compilerOptions: {
compatConfig: {
MODE: 2
}
}
}
})
}
}