0👍
✅
Put the following in vue.config.js
chainWebpack: config => {
config.module
.rule('vue')
.use('vue-loader')
.loader('vue-loader')
.tap(options => {
// modify the options...
options.compilerOptions = { whitespace: 'condense' };
return options;
});
},
Source:stackexchange.com