Skip to content

wasm-pack build generates two additional files #291

Open
@kimwallmark

Description

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions