We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdbb55e commit 7b55c5aCopy full SHA for 7b55c5a
README.md
@@ -32,6 +32,9 @@ _TODO_: notes about web
32
Normally, you should not need to do this stuff, but for local dev:
33
34
```bash
35
+# build wasm
36
+npm run build
37
+
38
# start a watching local web-server
39
# /sqldef is aliased to root-dir
40
npm start
package.json
@@ -13,7 +13,8 @@
13
},
14
"scripts": {
15
"test": "node --test",
16
- "start": "npx -y live-server docs --mount=/sqldef:."
+ "start": "npx -y live-server docs --mount=/sqldef:.",
17
+ "build" : "GOOS=js GOARCH=wasm go build $GOFLAGS -o sqldef.wasm sqldef-wasm.go"
18
19
"author": "David Konsumer <konsumer@jetboystudio.com> (http://konsumer.js.org)",
20
"license": "MIT",
0 commit comments