16 lines
348 B
JavaScript
16 lines
348 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,
|
|
}
|
|
})
|
|
},
|
|
lintOnSave: false,
|
|
}
|