Open kimwallmark opened 1 year ago
The instructions for building a Hello World example list the files that will be generated in pkg, along with descriptions of them. Two files (wasm_game_of_life_bg.js and wasm_game_of_life_bg.wasm.d.ts) are generated, but are not in that list.
pkg
I am new to wasm-pack, but I think these generations may have been added relatively recently, after this documentation was written. I've found bugs that discuss adding those files to the generated package.json (https://github.com/rustwasm/wasm-pack/issues/1193 and https://github.com/rustwasm/wasm-pack/issues/199).
The instructions for building a Hello World example list the files that will be generated in
pkg
, along with descriptions of them. Two files (wasm_game_of_life_bg.js and wasm_game_of_life_bg.wasm.d.ts) are generated, but are not in that list.I am new to wasm-pack, but I think these generations may have been added relatively recently, after this documentation was written. I've found bugs that discuss adding those files to the generated package.json (https://github.com/rustwasm/wasm-pack/issues/1193 and https://github.com/rustwasm/wasm-pack/issues/199).