Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix (server): Fix source map retrieval for updated builds #542

Merged
merged 3 commits into from
Nov 30, 2023

Conversation

kiliman
Copy link
Contributor

@kiliman kiliman commented Nov 30, 2023

This PR adds the fix submitted in Remix PR #8174. The issue is caused when the build server imports an updated server build with a ?t=timestamp suffix. This causes the source map support library to fail to load the source map.

remix-run/remix#8174

This PR adds the fix submitted in Remix PR #8174. The issue is caused when the build server imports an updated server build with a ?t=timestamp suffix. This causes the source map support library to fail to load the source map.

remix-run/remix#8174
index.js Outdated Show resolved Hide resolved
@kiliman
Copy link
Contributor Author

kiliman commented Nov 30, 2023

Yeah, sorry about that. I just did a copy+paste from the Express template and assumed yours was the same. I should have run the lint/test scripts.

This should pass now.

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

Thank you!

@kentcdodds kentcdodds merged commit 66c19d4 into epicweb-dev:main Nov 30, 2023
5 checks passed
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.

2 participants