Skip to content

Conversation

@vados-cosmonic
Copy link
Contributor

Previously, when attempting to call componentize() on a with a sourcePath in a different directory, the call to Wizer would be generated with the incorrect relative path (path prefix stripping).

This commit ensure that when Wizer is called with path prefix stripping, the path to the mapped file is correct.

Previously, when attempting to call `componentize()` on a with a
`sourcePath` in a different directory, the call to Wizer would be
generated with the incorrect *relative* path (path prefix stripping).

This commit ensure that when Wizer is called with path prefix
stripping, the path to the mapped file is correct.
Copy link
Member

@tschneidereit tschneidereit 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 for fixing this. I've never been too happy with how I implemented the path resolution changes here a while back, and this bug makes me even less happy with it

@vados-cosmonic
Copy link
Contributor Author

Yeah I was "lucky" to run into it, I think it's not a problem for most people who are using componentize-js, as most are still using the old style arguments, I think!

@vados-cosmonic
Copy link
Contributor Author

Hey so I think there might be a problem with windows-latest -- ever since GitHub Actions switched from windows-2022 to windows-2025 this summer tests have hung in Jco (I had to manually revert to windows-2022 rather than windows-latest`) -- what do you want to do @tschneidereit ? I don't think these tests will ever stop running.

@vados-cosmonic vados-cosmonic merged commit 2330f65 into bytecodealliance:main Oct 8, 2025
@vados-cosmonic vados-cosmonic deleted the fix=component-paths-in-different-folders branch October 8, 2025 18:34
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