Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Enable source maps in production (#755)

sarayourfriende4bfb864d88d
diff --git a/nuxt.config.js b/nuxt.config.js
index b698100fe..e4116cb8b 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -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: {