mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-25 10:02:27 -04:00
Reduce apk size by excluding .map assets
This commit is contained in:
@@ -6,7 +6,7 @@ console.log({isAppBuild})
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: isAppBuild ? 'export' : undefined,
|
||||
productionBrowserSourceMaps: true,
|
||||
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