René's URL Explorer Experiment


Title: fix(config): drop three dead next.config entries and correct two stale comments by waleedlatif1 · Pull Request #6076 · simstudioai/sim · GitHub

Open Graph Title: fix(config): drop three dead next.config entries and correct two stale comments by waleedlatif1 · Pull Request #6076 · simstudioai/sim

X Title: fix(config): drop three dead next.config entries and correct two stale comments by waleedlatif1 · Pull Request #6076 · simstudioai/sim

Description: Summary Three entries in apps/sim/next.config.ts were inert. Removing them is behavior-neutral. Also corrects two comments that claimed more than the code does. This came out of an audit of build-speed levers. None of these is a performance fix — they are hygiene, and I'd rather say so than imply a win that isn't there. The optimizePackageImports finding The Next 16.2.11 docs state, verbatim: "Turbopack automatically analyzes imports and optimizes them. It does not require this configuration." That sentence is not backed by the code. At tag v16.2.11: crates/next-core/src/next_client/context.rs:362 and next_server/context.rs:586 — the list feeds side_effect_free_packages next_server/context.rs:167 — the list is force-appended to transpiled_packages, and :191 then removes those entries from the server externals set turbopack-ecmascript/src/chunk/placeable.rs:235 — the glob short-circuits ahead of each package's own package.json sideEffects field. It is an override, not a hint. Next's own turbopack-warning.js also does not list the option as Turbopack-unsupported. So a stale entry is not free: it costs transform work and silently overrides a package's sideEffects declaration. What was removed Entry Why it's dead lodash (optimizePackageImports) Zero import sites repo-wide, and not a dependency of any package here. Next already applies a lodash → lodash/{{member}} modularizeImports rule unconditionally. @radix-ui/react-accordion (same) Zero import sites — its only occurrence in the repo was this config line. Present in node_modules only via transitive hoisting. prettier (transpilePackages) Nothing imports it, it's in no package.json, and the repo formats with Biome. transpilePackages matches modules already in the graph, so this transpiled nothing. What was deliberately left alone zod, reactflow, framer-motion, streamdown — real barrels with real import sites (zod has 389). Removing them removes genuine side_effect_free_packages tree-shaking hints and could grow the client bundle. That's a measurable tradeoff, not a cleanup. The 8 remaining @radix-ui/react-* entries — each is a 2-file pre-bundled package, outside the option's documented purpose ("hundreds or thousands of modules"), so they're likely noise plus sideEffects-override risk. But they are imported, so removal is a bundle-size question. Deferred on purpose. @react-email/* and @t3-oss/* in transpilePackages — these are where real transform work happens, and all four ship prebuilt JS meeting no documented criterion. Not touched: they were added empirically to fix real bugs, and the @t3-oss failure mode is silently-undefined client env, which ships unnoticed. The whole transpilePackages array must stay non-empty. webpack-config.js gates shouldIncludeExternalDirs on !!config.transpilePackages, so emptying it would break dev:webpack compiling packages/*/src. Individual removals are fine. Comment corrections The .map header rule was labelled "Block access to sourcemap files (defense in depth)". It sets x-robots-tag: noindex and a TTL — it blocks nothing, and the maps ship publicly in the production image (docker/app.Dockerfile:107). The minimal-registry comment was stale and causally wrong. Measured today: 4,351 tool entries (not ~247) pulling ~5,907 modules (not ~2,074); BLOCK_REGISTRY is 313. Blocks are not a co-equal cost — blocks/registry-maps alone is ~349 modules and mostly rides in behind the tool registry. And the registry is reached via four redundant client-reachable edges, not just providers/utils → tools/params, which is why cutting that one edge buys a single module. Type of Change Improvement (hygiene / comment accuracy) Testing tsc --noEmit clean (exit 0), biome check clean. Config-only change with no runtime code touched; the removed entries were inert by the mechanisms cited above. The CI Build App check exercises the real build.

Open Graph Description: Summary Three entries in apps/sim/next.config.ts were inert. Removing them is behavior-neutral. Also corrects two comments that claimed more than the code does. This came out of an audit of build-s...

X Description: Summary Three entries in apps/sim/next.config.ts were inert. Removing them is behavior-neutral. Also corrects two comments that claimed more than the code does. This came out of an audit of build-s...

Opengraph URL: https://github.com/simstudioai/sim/pull/6076

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:47bc92e0-1430-8b77-60e6-21c539d973ba
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA52:2413E8:4CFBAE:6EA482:6AFB3B68
html-safe-nonce26e086107fc9baded7b2a519a23f3488f786d83f488ce5ec3953299217f57c29
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTUyOjI0MTNFODo0Q0ZCQUU6NkVBNDgyOjZBRkIzQjY4IiwidmlzaXRvcl9pZCI6IjgzNjUzNjg2NTk2MDU2NjY2NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac53a152feca3b7fe74b73d681593dbb1e8d7476aa59c8956ef1702f244bb455ce
hovercard-subject-tagpull_request:4165262164
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6076/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Three entries in apps/sim/next.config.ts were inert. Removing them is behavior-neutral. Also corrects two comments that claimed more than the code does. This came out of an audit of build-s...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b4fc8df5ef1c6757e733a23e6b81b6725021823
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6076/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6076%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6076%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6076/files
Reloadhttps://github.com/simstudioai/sim/pull/6076/files
Reloadhttps://github.com/simstudioai/sim/pull/6076/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
fix/next-config-dead-entrieshttps://github.com/simstudioai/sim/tree/fix/next-config-dead-entries
Conversation 3 https://github.com/simstudioai/sim/pull/6076
Commits 1 https://github.com/simstudioai/sim/pull/6076/commits
Checks 27 https://github.com/simstudioai/sim/pull/6076/checks
Files changed https://github.com/simstudioai/sim/pull/6076/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6076/files
fix(config): drop three dead next.config entries and correct two stale comments https://github.com/simstudioai/sim/pull/6076/files#top
Show all changes 1 commit https://github.com/simstudioai/sim/pull/6076/files
9e7c380 fix(config): drop three dead next.config entries and correct two stal… waleedlatif1 Jul 30, 2026 https://github.com/simstudioai/sim/pull/6076/commits/9e7c38024dc83ef717bacd4a88a7f118324cd950
Clear filters https://github.com/simstudioai/sim/pull/6076/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6076/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6076/files
apps/sim/next.config.tshttps://github.com/simstudioai/sim/pull/6076/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
View file https://github.com/simstudioai/sim/blob/9e7c38024dc83ef717bacd4a88a7f118324cd950/apps/sim/next.config.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6076/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6076/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
https://github.com/simstudioai/sim/pull/6076/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
https://github.com/simstudioai/sim/pull/6076/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
https://github.com/simstudioai/sim/pull/6076/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
https://github.com/simstudioai/sim/pull/6076/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
https://github.com/simstudioai/sim/pull/6076/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
https://github.com/simstudioai/sim/pull/6076/files#diff-a2e0d564b8bf660a492f7abe431643db390b0f5696809465afc46475f552f15f
Please reload this pagehttps://github.com/simstudioai/sim/pull/6076/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.