Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore: enable prod source maps (#5006)

teo55b57bed0668
diff --git a/infra/stacks/web-app/index.ts b/infra/stacks/web-app/index.ts
index 1b6f9812a2..5b32884f64 100644
--- a/infra/stacks/web-app/index.ts
+++ b/infra/stacks/web-app/index.ts
@@ -95,7 +95,8 @@ execSync(`cp ${buildOutputPath}/index.html ./appRouteLambda/index.html`, {
const syncAssetsCommand = new command.local.Command(
'sync-assets-command',
{
- create: pulumi.interpolate`aws s3 sync ./output s3://${webAppAssets.bucket} --acl public-read --delete --exclude "app/app-archive.zip"${stack === 'prod' ? ' --exclude "*.js.map"' : ''}`,
+ // Source maps are intentionally public in production; the web client is open source.
+ create: pulumi.interpolate`aws s3 sync ./output s3://${webAppAssets.bucket} --acl public-read --delete --exclude "app/app-archive.zip"`,
triggers: [Date.now()],
},
{