Skip to content

snippets are not included in package.json files#1566

Description

@hgiesel

馃悰 Bug description

There are scenarios, where snippets are generated in a snippets directory inside of pkg, also see here.

馃 Expected Behavior

Once snippets exist, I would expect to be included in the files part of package.json. Otherwise they're not shipped

馃憻 Steps to reproduce

Create a snippet, e.g. with #[wasm_bindgen(inline_js = #js_lit)] and watch it not being included when packaging.

馃實 Your environment

Include the relevant details of your environment.
wasm-pack version: latest
rustc version: latest

Activity

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

Metadata

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