Menci / vite-plugin-wasm

Add WebAssembly ESM integration (aka. Webpack's `asyncWebAssembly`) to Vite and support `wasm-pack` generated modules.
MIT License
281 stars 16 forks source link

Initial attempt at Vitest support #16

Closed rossng closed 1 year ago

rossng commented 1 year ago

This PR is an initial stab at enabling support for server-side rendering, which is needed for vite-plugin-wasm to work in Vitest.

I haven't tested this in detail - e.g. whether it will work in a normal Vite SSR context. But I thought it would be good to get early feedback on the approach before investing too much time.

Menci commented 1 year ago

@rossng ping

rossng commented 1 year ago

Apologies, been very busy these past few weeks! Will try to take a look over xmas/new year.

AndrewJSchoen commented 1 year ago

Any updates on this?

Menci commented 1 year ago

Any updates on this?

I'm going to work on this recently.

rossng commented 1 year ago

It doesn't look like I'm going to have the time to work on this, so feel free to close (or reuse anything from) this PR.