[FEATURE] Use wasmexport/wasmimport build tags #26
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Go now supports directives to import and export functions to/from the compiled wasm binary, see documentation.
This directives could be used to simplify how go-wasm-http-server interacts with the browser.
wasmimport
is available since Go 1.22 andwasmexport
is available since Go 1.24.It would be nice to keep backward compatibility with Go 1.22, hence be able to work without
wasmexport
.The text was updated successfully, but these errors were encountered: