You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note:**When installing from git, the package automatically builds itself via a `postinstall` script. This requires Bun to be installed and may take a few seconds during installation.
23
+
**Note:**Git installs require manually building the package first. See [Local Development](#local-development) for build instructions.
24
24
25
25
## Basic Usage
26
26
@@ -91,7 +91,17 @@ ws.onmessage = (event) => {
91
91
92
92
## WASM File Handling
93
93
94
-
The library requires the `ghostty-vt.wasm` file at runtime. Most bundlers handle this automatically.
94
+
The library requires the `ghostty-vt.wasm` file at runtime. When installing from npm, the WASM is pre-built and included in the package.
95
+
96
+
### Local Development
97
+
98
+
After cloning:
99
+
100
+
```bash
101
+
./scripts/build-wasm.sh
102
+
```
103
+
104
+
The script will automatically initialize the submodule if needed. The WASM file is generated locally and gitignored.
0 commit comments