the universal sandbox runtime for agents and humans. pocketenv.io
sandbox openclaw agent claude-code vercel-sandbox deno-sandbox cloudflare-sandbox atproto sprites daytona
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

Enable source maps and minify production builds

Add --enable-source-maps to production node invocations and the CLI
shebang. Produce linked source maps and enable minification for Bun
builds.

+6 -5
+2 -2
apps/api/package.json
··· 5 5 "scripts": { 6 6 "dev": "tsx --watch src/index.ts", 7 7 "start": "npm run build && node dist/index.js", 8 - "start:prod": "npm run build && node dist/index.js", 8 + "start:prod": "npm run build && node --enable-source-maps dist/index.js", 9 9 "pkl:eval": "pkl eval -f json", 10 10 "pkl:gen": "tsx ./scripts/pkl.ts", 11 11 "lexgen": "lex gen-server ./src/lexicon ./lexicons/**/* ./lexicons/*", ··· 13 13 "lint": "biome lint src", 14 14 "sandbox": "tsx ./scripts/sandbox.ts", 15 15 "seed": "tsx ./scripts/seed.ts", 16 - "build": "bun build src/index.ts --outdir ./dist --target node --external better-sqlite3", 16 + "build": "bun build src/index.ts --outdir ./dist --target node --external better-sqlite3 --minify --sourcemap=linked", 17 17 "test": "vitest", 18 18 "test:run": "vitest run" 19 19 },
+2 -1
apps/cli/build.ts
··· 10 10 target: "node", 11 11 format: "esm", 12 12 minify: true, 13 + sourcemap: "linked", 13 14 }); 14 15 15 - const shebang = "#!/usr/bin/env node\n"; 16 + const shebang = "#!/usr/bin/env -S node --enable-source-maps\n"; 16 17 17 18 const content = fs.readFileSync(outfile, "utf-8"); 18 19 fs.writeFileSync(outfile, shebang + content);
+2 -2
apps/modal-sandbox/package.json
··· 5 5 "scripts": { 6 6 "dev": "tsx --watch src/index.ts", 7 7 "start": "npm run build && node dist/index.js", 8 - "start:prod": "npm run build && node dist/index.js", 9 - "build": "bun build src/index.ts --outdir ./dist --target node" 8 + "start:prod": "npm run build && node --enable-source-maps dist/index.js", 9 + "build": "bun build src/index.ts --outdir ./dist --target node --minify --sourcemap=linked" 10 10 }, 11 11 "dependencies": { 12 12 "@daytonaio/sdk": "^0.162.0",