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,
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
2021-04-17 03:16:54 +00:00
|
|
|
lintOnSave: false,
|
|
|
|
}
|