(vue) configure whitespace to 'preserve' to have the same behavior as in Vue 2, until we properly migrate this

This commit is contained in:
Valentyne Stigloher 2024-07-05 14:37:13 +02:00
parent c8cd9a5dd9
commit 5137411736

View File

@ -223,6 +223,9 @@ export default defineNuxtConfig({
}, },
}, },
vue: { vue: {
compilerOptions: {
whitespace: 'preserve',
},
transformAssetUrls: { transformAssetUrls: {
// disable transforming on <img src> because components/Header.vue has optional // disable transforming on <img src> because components/Header.vue has optional
// /img-local/census/census-banner-horizontal.png and /img-local/census/census-banner-horizontal-mobile.png // /img-local/census/census-banner-horizontal.png and /img-local/census/census-banner-horizontal-mobile.png