mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-06 00:49:58 +00:00
fix: only generate sourcemap in development
This commit is contained in:
parent
a9427e2ea0
commit
c2ffdcf78b
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ export default defineNuxtConfig({
|
||||||
crawlLinks: true,
|
crawlLinks: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
sourcemap: !isDevelopment,
|
sourcemap: isDevelopment,
|
||||||
hooks: {
|
hooks: {
|
||||||
'nitro:config': function (config) {
|
'nitro:config': function (config) {
|
||||||
const nuxt = useNuxt()
|
const nuxt = useNuxt()
|
||||||
|
|
Loading…
Reference in a new issue