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 creates incomplete file list in package.json #866

Closed
PSeitz opened this issue Jun 23, 2020 · 1 comment
Closed

wasm-pack build creates incomplete file list in package.json #866

PSeitz opened this issue Jun 23, 2020 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists package.json

Comments

@PSeitz
Copy link

PSeitz commented Jun 23, 2020

🐛 Bug description

wasm-pack build creates incomplete file list in package.json.

lz4_wasm_bg.js is missing in package.json, but is referenced in lz4_wasm.js (export * from "./lz4_wasm_bg.js")

👟 Steps to reproduce

git clone https://github.com/PSeitz/lz4_flex
cd lz4-wasm
wasm-pack build
wasm-pack pack

"lz4_wasm_bg.js" is missing in package.json, but is referenced in "lz4_wasm.js" (export * from "./lz4_wasm_bg.js").
Manually adding the file to the list solves the issue.

🌍 Your environment

Include the relevant details of your environment.
wasm-pack version: wasm-pack 0.9.1
rustc version: rustc 1.44.0-nightly (b2e36e6c2 2020-04-22)

@lucashorward
Copy link
Contributor

Same issue as #881, and should also be resolved through #839, but that hasn't been released as a new version yet.

@ashleygwilliams ashleygwilliams added bug Something isn't working duplicate This issue or pull request already exists package.json labels Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists package.json
Projects
None yet
Development

No branches or pull requests

3 participants