From 5137411736436528ffd18fc03bd68be015881ebf Mon Sep 17 00:00:00 2001 From: Valentyne Stigloher Date: Fri, 5 Jul 2024 14:37:13 +0200 Subject: [PATCH] (vue) configure whitespace to 'preserve' to have the same behavior as in Vue 2, until we properly migrate this --- nuxt.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 283bcc26f..4fff7b9de 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -223,6 +223,9 @@ export default defineNuxtConfig({ }, }, vue: { + compilerOptions: { + whitespace: 'preserve', + }, transformAssetUrls: { // disable transforming on because components/Header.vue has optional // /img-local/census/census-banner-horizontal.png and /img-local/census/census-banner-horizontal-mobile.png