panoptix-za / web-bundler

Bundles a Rust WebAssembly frontend application for publishing
Apache License 2.0
11 stars 3 forks source link

Depend on wasm-pack as a library rather than a CLI tool #1

Closed JWorthe closed 3 years ago

JWorthe commented 3 years ago

We currently depend on the wasm-pack CLI because of how this tool evolved from a build script. However, as a build.rs library, would make setup easier if we used wasm-pack as a library instead.

This looks like the entrypoint that should be used: https://docs.rs/wasm-pack/0.9.1/wasm_pack/command/build/index.html

stephanbuys commented 3 years ago

Much cleaner

Sent from a mobile device.

On 07 Jan 2021, at 11:51, Justin Wernick notifications@github.com wrote:



We currently depend on the wasm-pack CLI because of how this tool evolved from a build script. However, as a build.rs library, would make setup easier if we used wasm-pack as a library instead.

This looks like the entrypoint that should be used: https://docs.rs/wasm-pack/0.9.1/wasm_pack/command/build/index.html

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/panoptix-za/web-bundler/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABN3GUQIBQXYSVMKGOIX5RLSYV7Y5ANCNFSM4VYXSQ6Q.