89ccba3201
Disabled "modern" builds because they significantly increase memory consumption. Disabled type checker during production builds.
20 lines
497 B
JavaScript
20 lines
497 B
JavaScript
module.exports = {
|
|
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")
|
|
}
|
|
},
|
|
lintOnSave: false,
|
|
}
|