Skip to content

fix: Include bundler CJS exports to fix Node warning#22286

Merged
timfish merged 1 commit into
developfrom
timfish/fix/bundler-cjs-exports
Jul 15, 2026
Merged

fix: Include bundler CJS exports to fix Node warning#22286
timfish merged 1 commit into
developfrom
timfish/fix/bundler-cjs-exports

Conversation

@timfish

@timfish timfish commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

We saw a Node.js warning at runtime:

@sentry/server-utils/orchestrion/vite is ESM-only (its exports map has only import, no require), but vite.config.ts is being loaded as CJS because the app has no "type": "module".

Adding missing require exports should fix this!

@timfish
timfish requested a review from a team as a code owner July 15, 2026 10:51
@timfish
timfish requested review from Lms24, andreiborza, mydea and stephanie-anderson and removed request for a team July 15, 2026 10:51

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a4d75c2. Configure here.

Comment thread packages/server-utils/package.json
@timfish
timfish enabled auto-merge (squash) July 15, 2026 12:54
@timfish
timfish merged commit c9fce92 into develop Jul 15, 2026
428 of 430 checks passed
@timfish
timfish deleted the timfish/fix/bundler-cjs-exports branch July 15, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants