Skip to content

Commit 4afd8a9

Browse files
v0.1.9
1 parent 00c5f93 commit 4afd8a9

6 files changed

Lines changed: 405 additions & 475 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Intall vsce
1717
run: npm install -g @vscode/vsce
1818

19-
- run: wasm-pack build
19+
- run: wasm-pack build --target nodejs
2020
working-directory: ./typst-math-rust
2121
- name: Install npm dependencies
2222
run: npm i

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"options": {
2727
"cwd": "typst-math-rust"
2828
},
29-
"command": "wasm-pack build"
29+
"command": "wasm-pack build --target nodejs"
3030
}
3131
]
3232
}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cd typst-math
1212
To build the WebAssembly module, you need to install [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/)
1313
```bash
1414
cd typst-math-rust
15-
wasm-pack build
15+
wasm-pack build --target nodejs
1616
```
1717
Then you can run the extension by opening the project in VS Code and pressing `F5` to start a debug session.
1818

0 commit comments

Comments
 (0)