Describe what about it does not make sense
I don't know when they changed it, but npm init wasm-app will not have a dependencies field out of the box.
Things are put in the devDependencies which seems normal.
Why does it not make sense?
People unfamiliar with npm might be confused and not know what to do when they find no dependencies field.
How could we improve it?
I made a PR for this. Writing documentation is not always my forte, I welcome suggestions.
Where in the docs did you come across this? https://rustwasm.github.io/docs/book/game-of-life/hello-world.html#using-our-local-wasm-game-of-life-package-in-www
Describe what about it does not make sense I don't know when they changed it, but
npm init wasm-app
will not have adependencies
field out of the box. Things are put in thedevDependencies
which seems normal.Why does it not make sense? People unfamiliar with npm might be confused and not know what to do when they find no
dependencies
field.How could we improve it? I made a PR for this. Writing documentation is not always my forte, I welcome suggestions.