rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.75k stars 211 forks source link

Use wasm-pack new to setup template instead of cargo generate (#1) #315

Open nchrisr opened 4 months ago

nchrisr commented 4 months ago

Summary

This PR updates the steps used to generate the template to use wasm-pack new {project-name} instead. This is cleaner and more concise and could reduce reliance on extra setup dependencies that could break over time.

Fixes #214