Skip to content

Commit 5fbd523

Browse files
authored
chore: enable sourcemaps in production (#848)
1 parent 243b23a commit 5fbd523

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/production.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ export default defineNuxtModule({
1111

1212
if (isCI && provider !== 'github_actions') {
1313
nuxt.options.debug = defu(nuxt.options.debug, { hydration: true })
14+
nuxt.options.sourcemap = {
15+
server: true,
16+
client: true,
17+
}
1418
}
1519
},
1620
})

0 commit comments

Comments
 (0)