1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-05 16:39:58 +00:00

fix: only generate sourcemap in development

This commit is contained in:
Daniel Roe 2023-02-12 11:22:43 +01:00
parent a9427e2ea0
commit c2ffdcf78b

View file

@ -138,7 +138,7 @@ export default defineNuxtConfig({
crawlLinks: true,
},
},
sourcemap: !isDevelopment,
sourcemap: isDevelopment,
hooks: {
'nitro:config': function (config) {
const nuxt = useNuxt()