Skip to content

Conversation

@jog1t
Copy link
Contributor

@jog1t jog1t commented Jan 11, 2026

  • Add import conditions to package.json exports to prevent node-only dependencies from being bundled in browser environments
  • Move get-port to optionalDependencies since it's only needed for Node.js server environments
  • Add error handling in serve.ts for missing get-port dependency
  • Browser environments will automatically get the client-only build when importing from 'rivetkit'
  • Node.js environments get the full server build with Registry and server utilities

- Add import conditions to package.json exports to prevent node-only dependencies from being bundled in browser environments
- Move get-port to optionalDependencies since it's only needed for Node.js server environments
- Add error handling in serve.ts for missing get-port dependency
- Browser environments will automatically get the client-only build when importing from 'rivetkit'
- Node.js environments get the full server build with Registry and server utilities
@railway-app
Copy link

railway-app bot commented Jan 11, 2026

🚅 Deployed to the rivet-pr-3832 environment in rivet-frontend

Service Status Web Updated (UTC)
website 😴 Sleeping (View Logs) Web Jan 11, 2026 at 11:04 pm
frontend-inspector ❌ Build Failed (View Logs) Web Jan 11, 2026 at 10:55 pm
frontend-cloud ❌ Build Failed (View Logs) Web Jan 11, 2026 at 10:55 pm

@graphite-app
Copy link
Contributor

graphite-app bot commented Jan 11, 2026

Graphite Automations

"Test" took an action on this PR • (01/11/26)

1 assignee was added to this PR based on Kacper Wojciechowski's automation.

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