fedimovies-web/vue.config.js

23 lines
560 B
JavaScript
Raw Normal View History

2022-09-16 14:57:07 +00:00
process.env.VUE_APP_VERSION = process.env.npm_package_version
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,
}