Skip to content

Conversation

@sfinktah
Copy link
Contributor

@sfinktah sfinktah commented Nov 8, 2025

This is the one-line fix for the issue with building on Windows. The one that created ../../../../../../../../app.js paths.

-   rel_path = file.replace(f'{DIR_WEB}/', "")
+   rel_path = os.path.relpath(file, DIR_WEB)

This avoids the excessive changes in #609.

The declarations in comfy/frontend do still need to be made exportable, but there is probably a more appropriate place to deal with that.

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