Kickstart your Rust, WebAssembly, and Parcel project!
Branch: master
Clone or download
iamcodemaker and sendilkumarn set a panic hook conditionally (#21)
* set a panic hook conditionally

Set a panic hook conditionally depending on if feature
console_error_panic_hook is enabled or not.

* inline the empty set_panic_hook_call
Latest commit a6aa39e Jan 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.bin Update create-rust-parcel.js (#7) Oct 1, 2018
crate set a panic hook conditionally (#21) Jan 2, 2019
js fix(chore): to make it work with latest parcel plugin (#8) Oct 2, 2018
.gitignore Initial Commit Sep 23, 2018
.travis.yml Add travis build (#1) Sep 23, 2018
LICENSE-APACHE Initial Commit Sep 23, 2018
LICENSE-MIT Initial Commit Sep 23, 2018
README.md Initial Commit Sep 23, 2018
index.html Initial Commit Sep 23, 2018
package-lock.json 0.0.2 Jan 2, 2019
package.json 0.0.2 Jan 2, 2019

README.md

rust-parcel-template

Kickstart your Rust, WebAssembly, and Parcel project!

This template comes pre-configured with all the boilerplate for compiling Rust to WebAssembly and hooking into a Parcel build pipeline.

  • npm run start -- Serve the project locally for development at http://localhost:1234.

  • npm run build -- Bundle the project (in production mode)

Using This Template

cargo install wasm-pack
npm init rust-parcel my-app