Skip to content

Commit

Permalink
Add instructions for sample @ runno.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
WietseWind committed May 24, 2024
1 parent 6cd4f30 commit e0e1a61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ npm run demo

### Test @ `https://runno.dev/wasi`

Upload `qjsc.wasm` and create a `.js` file @ the virtual filesystem, e.g. `sample.js`, and then use argument:
Upload `esbuild.wasm` and upload `index.ts` from the `sample` folder in this repo to the virtual filestystem, and then use argument:

```bash
-c -o sample.bc sample.js
index.ts --minify --format=esm --platform=browser --outfile=out.js
```

Then download `out.js` from the virtual filesystem and... Tada 🎉!

0 comments on commit e0e1a61

Please sign in to comment.