@cpchain-foundation/cdl-compiler-node
v0.0.3
Published
为实现前端可以编译 CDL,通过此 lib 实现将 compiler 编译为 WASM。
Downloads
1
Readme
Compiler WASM
为实现前端可以编译 CDL,通过此 lib 实现将 compiler 编译为 WASM。
rustup target add wasm32-unknown-unknown
cargo install wasm-pack
# build
wasm-pack build --scope cpchain-foundation
# nodejs
wasm-pack build --scope cpchain-foundation --target nodejs --out-dir pkg.node --out-name cdl-compiler-node