fix: only generate sourcemap in development
parent
a9427e2ea0
commit
c2ffdcf78b
|
@ -138,7 +138,7 @@ export default defineNuxtConfig({
|
|||
crawlLinks: true,
|
||||
},
|
||||
},
|
||||
sourcemap: !isDevelopment,
|
||||
sourcemap: isDevelopment,
|
||||
hooks: {
|
||||
'nitro:config': function (config) {
|
||||
const nuxt = useNuxt()
|
||||
|
|
Loading…
Reference in New Issue