mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-24 17:41:27 -04:00
Do not ship source maps even in web
This commit is contained in:
@@ -7,7 +7,7 @@ console.log({isAppBuild})
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: isAppBuild ? 'export' : undefined,
|
||||
productionBrowserSourceMaps: !isAppBuild, // no source maps in Android build
|
||||
// productionBrowserSourceMaps: !isAppBuild, // no source maps in Android build
|
||||
reactStrictMode: true,
|
||||
modularizeImports: {
|
||||
// heroicons v1 transforms removed — v2 has tree-shaking built in
|
||||
|
||||
Reference in New Issue
Block a user