Open bubbajoe opened 4 days ago
Getting the target via the query params seems to work... curl https://esm.sh/yaml@2.4.5\?target\=es2015
curl https://esm.sh/yaml@2.4.5\?target\=es2015
however, using the user agent does not seem to work curl https://esm.sh/yaml@2.4.5 -H User-Agent:esm/es2015
curl https://esm.sh/yaml@2.4.5 -H User-Agent:esm/es2015
Additionally, on the esm.sh website, it mentions By default, esm.sh checks the User-Agent header to determine the build target.
By default, esm.sh checks the User-Agent header to determine the build target.
but doesn't mention how it does that, it would be nice to mention how this works, I had to check the code and still didn't work.
there are lot of changes i didn't deploy to the production yet, including support of User-Agent:esm/es20xx
User-Agent:esm/es20xx
Sorry I am confused, why was the esm/es20xx change just removed?
esm/es20xx
this is introduced in v136, currently production is v135
Thanks, when is the next planned release?
Getting the target via the query params seems to work...
curl https://esm.sh/yaml@2.4.5\?target\=es2015
however, using the user agent does not seem to work
curl https://esm.sh/yaml@2.4.5 -H User-Agent:esm/es2015
Additionally, on the esm.sh website, it mentions
By default, esm.sh checks the User-Agent header to determine the build target.
but doesn't mention how it does that, it would be nice to mention how this works, I had to check the code and still didn't work.