Skip to content

webcontainer support #101

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

Open
JounQin opened this issue Apr 25, 2025 · 1 comment · Fixed by un-ts/napi-postinstall#21 or #103
Open

webcontainer support #101

JounQin opened this issue Apr 25, 2025 · 1 comment · Fixed by un-ts/napi-postinstall#21 or #103

Comments

@JounQin
Copy link
Member

JounQin commented Apr 25, 2025

https://stackblitz.com/edit/unrs-resolver

not working yet

@JounQin
Copy link
Member Author

JounQin commented Apr 27, 2025

@unrs/resolver-binding-wasm32-wasi must be installed manually now due to the limitation that webcontainer doesn't run postinstall at all, we should add checkAndPreparePackage before

if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {

@JounQin JounQin reopened this Apr 27, 2025
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