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

Add infrastructure to build and publish as wasm32 #3840

Merged
merged 1 commit into from
Nov 9, 2023
Merged

Add infrastructure to build and publish as wasm32 #3840

merged 1 commit into from
Nov 9, 2023

Conversation

lovell
Copy link
Owner

@lovell lovell commented Nov 6, 2023

This is based on #3522

  • Detects presence of emscripten at install time to re-configure node-gyp with relevant compiler/linker flags
  • Adds CI job to build, test and generate prebuilt binaries via emsdk
  • Package be published to npm as @img/sharp-wasm32 with a dependency on the excellent @emnapi/runtime
  • Adds brief documentation (this feature is experimental)

@lovell lovell mentioned this pull request Nov 6, 2023
@lovell lovell marked this pull request as ready for review November 8, 2023 13:11
@lovell lovell force-pushed the add-wasm branch 2 times, most recently from a2074bc to bd983dc Compare November 8, 2023 14:12
@lovell lovell merged commit a8f68ba into gauge Nov 9, 2023
34 checks passed
@lovell lovell deleted the add-wasm branch November 9, 2023 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant