Skip to content

Add infrastructure to build and publish as wasm32#3840

Merged
lovell merged 1 commit intogaugefrom
add-wasm
Nov 9, 2023
Merged

Add infrastructure to build and publish as wasm32#3840
lovell merged 1 commit intogaugefrom
add-wasm

Conversation

@lovell
Copy link
Copy Markdown
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
Co-authored-by: Ingvar Stepanyan <me@rreverser.com>
@lovell lovell merged commit a8f68ba into gauge Nov 9, 2023
@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