fedimovies-web/vue.config.js

21 lines
497 B
JavaScript
Raw Permalink Normal View History

2021-04-17 03:16:54 +00:00
module.exports = {
2022-05-18 18:29:33 +00:00
chainWebpack: (config) => {
// Enable reactivity transform
// https://github.com/vuejs/rfcs/discussions/369
config.module
.rule("vue")
.use("vue-loader")
.tap((options) => {
return {
...options,
reactivityTransform: true,
}
})
if (process.env.NODE_ENV === "production") {
// Type checker consumes too much memory
config.plugins.delete("fork-ts-checker")
}
2022-05-18 18:29:33 +00:00
},
2021-04-17 03:16:54 +00:00
lintOnSave: false,
}