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

Fix circular dependency issue with oxipng and vite #59

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

jamsinclair
Copy link
Owner

@jamsinclair jamsinclair commented Jun 18, 2024

As pointed out in #37 (comment), Oxipng is still having issues when being compiled with an oxipng dependency.

Thanks to recent-ish updates to https://github.com/RReverser/wasm-bindgen-rayon it now compiles nicely with Vite despite the circular dependencies. By upgrading to this latest version we can compile a oxipng module that works.

You'll still need to be using a version of Vite greater than v5.1.6 to compile the circular dependency.

@jamsinclair jamsinclair merged commit 68a7201 into main Jun 18, 2024
1 check passed
@jamsinclair jamsinclair deleted the fix-oxipng-and-vite branch June 18, 2024 06:18
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