Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Only create source maps when setting SOURCE_MAPS

Gabe Kangasb3b87928dc92
diff --git a/web/next.config.js b/web/next.config.js
index 90d3b9d98e..deb951cca2 100644
--- a/web/next.config.js
+++ b/web/next.config.js
@@ -5,7 +5,7 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
module.exports = withBundleAnalyzer(
withLess({
- productionBrowserSourceMaps: true,
+ productionBrowserSourceMaps: process.env.SOURCE_MAPS === 'true',
trailingSlash: true,
reactStrictMode: true,
images: {