You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't look like SWC plugins use wasm-bindgen at all, actually, so nothing wasm-bindgen-related is going to work. It looks like tracing is what SWC expects plugins to use for logging, so you should probably use that instead.
It doesn't look like SWC plugins use wasm-bindgen at all, actually, so nothing wasm-bindgen-related is going to work. It looks like tracing is what SWC expects plugins to use for logging, so you should probably use that instead.
Thanks for your reply. It seems like I made a mistake. I will study it again.
Activity
snOm3ad commentedon Aug 17, 2023
This might be related to #3233. You need to file a bug with SWC. See also #3421 (comment)
Liamolucko commentedon Aug 18, 2023
It doesn't look like SWC plugins use
wasm-bindgen
at all, actually, so nothingwasm-bindgen
-related is going to work. It looks liketracing
is what SWC expects plugins to use for logging, so you should probably use that instead.coder-xiaotian commentedon Aug 18, 2023
Thanks for your reply. It seems like I made a mistake. I will study it again.
daxpedda commentedon Aug 20, 2023
wasm-bindgen
doesn't support WASI to begin with, so I don't think this is really supposed to work at all.Feel free to continue discussion here if any more questions come up!