mirror of
https://github.com/owncast/owncast.git
synced 2025-01-31 04:24:05 +03:00
Only create source maps when setting SOURCE_MAPS
This commit is contained in:
parent
3f4537252b
commit
bcbaa4e688
1 changed files with 1 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Reference in a new issue