Skip to content

Conversation

@rschristian
Copy link
Member

@rschristian rschristian commented May 25, 2025

Current setup assumes ${output}.map always exists, which isn't quite the case for X; the .mjs output is a renamed copy of .module.js, includes the original sourcemap comment (pointing at .module.js.map) and all. We therefore don't provide a .mjs.map as it's not referenced and therefore unused.

readFileSync would then throw if it attempted to resolve any .mjs files for X (as the test:e2e:git script would do)

@rschristian
Copy link
Member Author

I should note that I don't have merge rights on this repo so will need someone else to merge this & #501 whenever ready (no rush!)

@JoviDeCroock JoviDeCroock merged commit a831b11 into main May 25, 2025
2 checks passed
@JoviDeCroock JoviDeCroock deleted the tests/sourcemap-resolution branch May 25, 2025 06:16
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