From c2ffdcf78bdd38a9655df0a54c68899cb47daf7f Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 12 Feb 2023 11:22:43 +0100 Subject: [PATCH] fix: only generate sourcemap in development --- nuxt.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 7c91db5a..873a3e89 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -138,7 +138,7 @@ export default defineNuxtConfig({ crawlLinks: true, }, }, - sourcemap: !isDevelopment, + sourcemap: isDevelopment, hooks: { 'nitro:config': function (config) { const nuxt = useNuxt()