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