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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
Could you please clarify something about targets configuration in
env
According to documentation https://swc.rs/docs/configuration/compilation#envtargets
Its possible to use
string[]
orMap<String, Version>
On by project I use
And it does work but I dont get it why.
I tried to look at swc source code and found
In
swc-project/swc/crates/preset_env_base/src/query.rs
It's probably the right place (plz tell if not) but I failled in my futher investigation.
Please help me to figure out this thing, so I will be ably to make a PR in documentation to clarify this for futher users.
Beta Was this translation helpful? Give feedback.
All reactions