mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-07 14:57:24 +02:00
parent
0ea744d3dd
commit
bfa727258b
@ -119,6 +119,8 @@ Additionally if any files were moved around, see the section [Keeping the Bazel
|
|||||||
|
|
||||||
## Building libjsonnet.wasm
|
## Building libjsonnet.wasm
|
||||||
|
|
||||||
|
The [WASM](https://webassembly.org/) build can be used to embed go-jsonnet for use (client side) in the web browser. This is used for the live code snippets on https://jsonnet.org/
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
GOOS=js GOARCH=wasm go build -o libjsonnet.wasm ./cmd/wasm
|
GOOS=js GOARCH=wasm go build -o libjsonnet.wasm ./cmd/wasm
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user