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

Implement WASM import support in esbuild-based browser application builder #25102

Closed
clydin opened this issue Apr 28, 2023 · 3 comments
Closed

Comments

@clydin
Copy link
Member

clydin commented Apr 28, 2023

Command

build

Description

Implement WASM import support in esbuild-based browser application builder.

Describe the solution you'd like

Allow WASM files to be used within a static import statement.

Describe alternatives you've considered

WASM files can currently be used by leveraging existing Web APIs as explained here: https://developer.mozilla.org/en-US/docs/WebAssembly/Loading_and_running

@clydin
Copy link
Member Author

clydin commented Aug 27, 2024

Support within zoneless applications is now available when using 18.1 or newer.
Please see the #27973 for further details.

@hillin
Copy link

hillin commented Dec 12, 2024

Apparently importing wasm from a web worker is still not supported. The same import in the main application works well now.

@alan-agius4
Copy link
Collaborator

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.

If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants