Tschrock / esbuild-plugin-wasm

WASM module loader for esbuild
MIT License
24 stars 5 forks source link

Vite support #2

Closed Dauta closed 1 year ago

Dauta commented 2 years ago

Hi! Thank you so much for this plugin! Love how seamless it makes working with wasm files with esbuild. I'm looking to move my project from plain esbuild to vite. I've been really liking vite's built in support for HMR and other features. Unfortunately, it seems that out of the box support for loading wasm isn't really as straightforward. Do you know if it would be possible to port this plugin to work with Vite? Thanks again!

Tschrock commented 1 year ago

It looks like there is now a Vite plugin with similar functionality at https://github.com/Menci/vite-plugin-wasm