mirror of
https://github.com/bra1n/townsquare.git
synced 2025-04-04 22:24:36 +00:00
20 lines
431 B
JavaScript
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,
|
|
},
|
|
},
|
|
};
|
|
});
|
|
},
|
|
};
|