enable prod sourcemaps in browser (#636)

This commit is contained in:
SatsAllDay 2023-11-19 15:25:21 -05:00 committed by GitHub
parent 64a16373c5
commit 92ec6be20a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,7 @@ module.exports = withPlausibleProxy()({
scrollRestoration: true
},
reactStrictMode: true,
productionBrowserSourceMaps: true,
generateBuildId: isProd ? async () => commitHash : undefined,
// Use the CDN in production and localhost for development.
assetPrefix: isProd ? 'https://a.stacker.news' : undefined,