townsquare/vue.config.js
2023-05-27 11:47:43 +01:00

20 lines
431 B
JavaScript

module.exports = {
publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
chainWebpack: (config) => {
config.resolve.alias.set("vue", "@vue/compat");
config.module
.rule("vue")
.use("vue-loader")
.tap((options) => {
return {
...options,
compilerOptions: {
compatConfig: {
MODE: 3,
},
},
};
});
},
};