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

Use string replace in import instead of dynamic module creation #3335

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lukaslihotzki
Copy link
Contributor

The last missing piece for a clean (static, CSP-compatible) solution for Wasm workers and worklets is the link back to the shim module in linked modules. This draft demonstrates how it can be hacked with a single string replace command.

@daxpedda
Copy link
Collaborator

@lukaslihotzki I think this is an interesting demonstration, but I'm not sure if we want to add it to the example like this. Was your intention to actually merge this here?

@daxpedda daxpedda added the waiting for author Waiting for author to respond label May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for author Waiting for author to respond
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants