mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
23 lines
596 B
JavaScript
23 lines
596 B
JavaScript
// 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
|
|
}
|
|
}
|
|
}
|
|
})
|
|
}
|
|
} |