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

remove wrapping arrow func to handle all requests in middleware #31

Merged
merged 1 commit into from
May 30, 2024

Conversation

davemo88
Copy link

@davemo88 davemo88 commented Apr 20, 2024

on vite 5.2+, the middleware in this plugin which filters for request urls ending in .wasm is not handling all requests. after some fiddling I found removing this wrapping arrow func seems to fix it.

I think this is a problem on the later vite dev servers only

@michaelangeloio
Copy link

can confirm this fixes #33

@nshen nshen merged commit 5e626b9 into nshen:main May 30, 2024
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.

3 participants