First, is it standard to remove attribute quotes from HTML in a minified production build? It seems like that would cause problems in some browsers / platforms? If so, then everything below doesn't really matter, but I'm still curious.
I have the below in my vue.config.js
and it works to keep attribute quotes in the prod build, but breaks yarn serve.
Local Vue version 2.6.12. @vue/cli version 4.5.4.
chainWebpack: (config) => { // chainWebpack grayed out
config.plugin("html").tap((args) => {
args[0].minify.removeAttributeQuotes = false;
return args;
});
},
It doesn't seem to find minify
- I keep getting: ERROR TypeError: Cannot set property 'removeAttributeQuotes' of undefined