mirror of
https://github.com/hanzoai/quickjs-emscripten.git
synced 2026-10-30 19:37:29 +00:00
* working wrangler demo * improve worker example code quality * add helpers for cloudflare support * document cloudflare, deno, esmodule * deno smoketest file * doc cleanup * expand loader docs * test minimal example in CI * rebuild docs * document minimal size
10 lines
281 B
TypeScript
Executable File
10 lines
281 B
TypeScript
Executable File
#!/usr/bin/env -S npx tsx
|
|
import * as sh from "./helpers"
|
|
|
|
const target = sh.resolve(__dirname, "../examples/node-minimal")
|
|
sh.installDependencyGraphFromTar(target, [
|
|
"quickjs-emscripten-core",
|
|
"@jitl/quickjs-wasmfile-release-sync",
|
|
])
|
|
sh.exec(`cd ${target} && node main.mjs`)
|