enable prod sourcemaps in browser (#636)
This commit is contained in:
parent
64a16373c5
commit
92ec6be20a
@ -42,6 +42,7 @@ module.exports = withPlausibleProxy()({
|
|||||||
scrollRestoration: true
|
scrollRestoration: true
|
||||||
},
|
},
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
|
productionBrowserSourceMaps: true,
|
||||||
generateBuildId: isProd ? async () => commitHash : undefined,
|
generateBuildId: isProd ? async () => commitHash : undefined,
|
||||||
// Use the CDN in production and localhost for development.
|
// Use the CDN in production and localhost for development.
|
||||||
assetPrefix: isProd ? 'https://a.stacker.news' : undefined,
|
assetPrefix: isProd ? 'https://a.stacker.news' : undefined,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user