compile
Compile your app's state machine to Wasm
The compile command is used to compile your Micro-Rollup's State Machine to portable WebAssembly (Wasm) binary.
Usage
» stackr compile --help
USAGE
$ stackr compile
EXAMPLES
$ stackr compileExample
Make sure you are in the project directory and run the following command:
$ npx @stackr/cli@latest compileIf all goes well, you will see the following output:
✔ 🏗️ State Machine builtThe produced build artifacts and the Wasm binary are placed inside the stackr_build directory.
$ ls stackr_build
build_logs.txt stf.js stf.ts stf.wasmYou may refer to the Checking your Wasm Binary section on how to check whether the binary was correctly compiled.