Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Enable source maps in production (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend authored Feb 1, 2022
1 parent 268532a commit e4bfb86
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,7 @@ export default {
},
// Enables use of IDE debuggers
extend(config, ctx) {
if (ctx.isDev) {
config.devtool = ctx.isClient ? 'source-map' : 'inline-source-map'
}
config.devtool = ctx.isClient ? 'source-map' : 'inline-source-map'
},
},
storybook: {
Expand Down

0 comments on commit e4bfb86

Please sign in to comment.