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

Improve build process and fix usage with certain bundlers #1158

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Conversation

xenova
Copy link
Collaborator

@xenova xenova commented Jan 18, 2025

Fixes build issues on Windows, and fixes webpack build process to ensure correct usage with libraries like Next.js. cc @fs-eire

In particular, we need to replace all instances of new URL("./", import.meta.url) with new URL(import.meta.url), which is inserted by webpack.

Closes #911
Closes #984
Closes #980
Closes #1021
Closes #1026

@fs-eire fs-eire mentioned this pull request Jan 20, 2025
6 tasks
@xenova xenova merged commit 142f6e1 into main Jan 22, 2025
4 checks passed
@xenova xenova deleted the fix-build branch January 22, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant