-
Notifications
You must be signed in to change notification settings - Fork 38
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
WASM dependency analysis #150
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To unblock denoland/deno#2552,
deno_graph
needs to be able to represent WASM modules in a module graph. To do this, we need to parse out theimport
sections in a module, because with the ESM-WASM integration, these can reference other JS / WASM modules (and thus they need to be part of the module graph).To do the analysis of the WASM modules we can probably use
wasmparser
. It is a streaming parser, so we don't waste compute cycles and memory getting an entire WASM AST just to extract the imports.The text was updated successfully, but these errors were encountered: