You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Examples should not be included in production distribution and signal handlers should not be attached
Logs
If applicable, add logs to help explain your problem.
Additional context
This causes some downstream plugins (like our webserver signal processor) to have issues. Seems like these were included unintentionally during the packaging process.
Hi, I verified this against the current v1.x branch. The v2 main layout no longer has this packaging path, but both tsconfig.prod.json and tsconfig.cjs.json on v1.x still compile src/examples/** into dist, and the wildcard package export makes those example entry points importable. Importing a server example can then attach process signal handlers as a module side effect.
I can submit a focused v1.x fix that excludes src/examples/** from both production builds, with regression coverage that inspects the packed artifact to ensure example entry points are absent while supported SDK subpaths remain available. I also found no open or draft PR implementing this packaging change. Is this available for community contribution, and may I be assigned before starting implementation?
Activity
MustafaKemal0146 commentedon Jul 16, 2026
Hi, I verified this against the current
v1.xbranch. The v2mainlayout no longer has this packaging path, but bothtsconfig.prod.jsonandtsconfig.cjs.jsononv1.xstill compilesrc/examples/**intodist, and the wildcard package export makes those example entry points importable. Importing a server example can then attach process signal handlers as a module side effect.I can submit a focused
v1.xfix that excludessrc/examples/**from both production builds, with regression coverage that inspects the packed artifact to ensure example entry points are absent while supported SDK subpaths remain available. I also found no open or draft PR implementing this packaging change. Is this available for community contribution, and may I be assigned before starting implementation?