Skip to content

Improve build process and fix usage with certain bundlers#1158

Merged
xenova merged 2 commits into
mainfrom
fix-build
Jan 22, 2025
Merged

Improve build process and fix usage with certain bundlers#1158
xenova merged 2 commits into
mainfrom
fix-build

Conversation

@xenova

@xenova xenova commented Jan 18, 2025

Copy link
Copy Markdown
Collaborator

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
@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