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.

feat: include source map in dev (#1700)

gbirman289dc5d9d064
diff --git a/infra/stacks/web-app/index.ts b/infra/stacks/web-app/index.ts
index f57b6ed9a2..abeea32e97 100644
--- a/infra/stacks/web-app/index.ts
+++ b/infra/stacks/web-app/index.ts
@@ -88,7 +88,7 @@ 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 "*.js.map"`,
+ create: pulumi.interpolate`aws s3 sync ./output s3://${webAppAssets.bucket} --acl public-read --delete${stack === 'prod' ? ' --exclude "*.js.map"' : ''}`,
triggers: [Date.now()],
},
{