Pass --target web
to wasm-bindgen instead of --web
#597
Labels
current release
current todo items
needs discussion
to-do
stuff that needs to happen, so plz do it k thx
Milestone
This is intended to be a tracking issue for integration rustwasm/wasm-bindgen#1369 fully into
wasm-pack
. That PR to wasm-bindgen "deprecated" old target flags like--web
,--no-modules
, etc. The deprecated flags are still accepted without warning, but all documentation shoul ideally point towards--target
now.Currently
wasm-pack
passes the old flags for--web
and such, and I think that it will want to continue doing so for the near future as well. Once enough users have upgradedwasm-bindgen
and older versions start getting naturally phased out, we'll want to switchwasm-pack
to passing down the--target
flag as well (probably just passing it through directly towasm-bindgen
).The text was updated successfully, but these errors were encountered: