Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm-pack build generates two additional files #291

Open
kimwallmark opened this issue Apr 9, 2023 · 0 comments · May be fixed by #292
Open

wasm-pack build generates two additional files #291

kimwallmark opened this issue Apr 9, 2023 · 0 comments · May be fixed by #292

Comments

@kimwallmark
Copy link

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 (rustwasm/wasm-pack#1193 and rustwasm/wasm-pack#199).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant