npm i
npm run asbuild
npm run serve
- Go to http://localhost:1234
src/wasm/assembly/index.ts
: the actual AssemblyScript filesrc/wasm/build/optimized.wasm
/src/wasm/build/untouched.wasm
: the binary files (optimized and non-optimized) built from the AssemblyScript that need to be initialised somewhere in your code.src/wasm/exports.d.ts
: file where you can put TypeScript definitions of the exports from your WASM module, so that there is good intellisensesrc/index-browser.ts
: the script that is run from the browser