Skip to content

Conversation

itsjavi
Copy link

@itsjavi itsjavi commented Aug 2, 2025

Since @vercel/react-router builds the server in a randomly generated directory based on a build ID, we need to find it first in order to be able to serve it.

This PR implements a simple JS script to find the output dir and run react-router-serve.

@itsjavi itsjavi changed the title fix: vercel template start script is broken fix: broken vercel template start script Aug 2, 2025
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.

1 participant