-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
@swc/wasm-web references wasm_bg.js but it does not get published together with it #1291
Comments
Ok well we are using wasm-pack to roll it out to wasm, and there's a relevant issue on this. may need a fix on github workflow. rustwasm/wasm-pack#837 |
It seems like we need to modify (generated) package.json file |
I will try to figure out a way |
Yeah. So just like what you said, inside package.json:
This will just do it. I will make a PR. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
It's not about @swc/core, but it's more of just publishing problem, I guess.
For some reason it exports
wasm_bg.js
, but it does not come withwasm_bg.js
anyways (see left side).Where is wasm_bg.js supposed to come from?
How to reproduce
Just install @swc/wasm-web with
yarn add @swc-wasm-web
and see the actual package content insidenode_modules
.The text was updated successfully, but these errors were encountered: