From 9e0b116e5de7d91379ac72b16389f33a44c82478 Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Fri, 28 Aug 2026 20:17:46 +0600 Subject: [PATCH] chore: enable sourcemap in development --- nuxt.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 95e3632278..188ea9fac8 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,6 +1,6 @@ import process from 'node:process' import { currentLocales } from './config/i18n' -import { isCI, isTest, provider } from 'std-env' +import { isCI, isTest, provider, isDevelopment } from 'std-env' const isStorybook = process.env.STORYBOOK === 'true' || process.env.VITEST_STORYBOOK === 'true' @@ -59,6 +59,8 @@ export default defineNuxtConfig({ devtools: { enabled: true }, + sourcemap: isDevelopment, + devServer: { // Used with atproto oauth // https://atproto.com/specs/oauth#localhost-client-development