Env targets possible variants #7909
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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