-
Notifications
You must be signed in to change notification settings - Fork 507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps: upgrade Babel preset-env, remove now redundant plugins #838
deps: upgrade Babel preset-env, remove now redundant plugins #838
Conversation
This comment has been minimized.
This comment has been minimized.
06933b2
to
9230ca3
Compare
Huh... |
9230ca3
to
d366ece
Compare
Ohhh it changed the output of autoprefixer a bit... I guess because the |
- optional-chaining and nullish-coalescing are now part of @babel/preset-env, so no need to explicitly install or configure them anymore - left in the regression tests though! - previously they were new syntax and TSDX adopted them as soon as they landed in TS - can view current compat table here: https://github.com/babel/babel/blob/e498bee10f0123bb208baa228ce6417542a2c3c4/packages/babel-compat-data/data/plugins.json#L24 - update autoprefixer integration test because browserslist and caniuse-lite were updated to more recent compat tables - `-webkit-input-placeholder` is no longer needed, but some others are, so switch to checking for `-moz-placeholder` - this probably fixes that "caniuse-lite is out-of-date" warning I was getting occassionally in CI - didn't get locally probably because I didn't install with `--frozen-lockfile` locally, unlike in CI
d366ece
to
d628b16
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed autoprefixer
test, all tests pass now!
…lmer#838) - optional-chaining and nullish-coalescing are now part of @babel/preset-env, so no need to explicitly install or configure them anymore - left in the regression tests though! - previously they were new syntax and TSDX adopted them as soon as they landed in TS - can view current compat table here: https://github.com/babel/babel/blob/e498bee10f0123bb208baa228ce6417542a2c3c4/packages/babel-compat-data/data/plugins.json#L24 - update autoprefixer integration test because browserslist and caniuse-lite were updated to more recent compat tables - `-webkit-input-placeholder` is no longer needed, but some others are, so switch to checking for `-moz-placeholder` - this probably fixes that "caniuse-lite is out-of-date" warning I was getting occassionally in CI - didn't get locally probably because I didn't install with `--frozen-lockfile` locally, unlike in CI
Description
optional-chaining and nullish-coalescing are now part of
@babel/preset-env
, so no need to explicitly install or configurethem anymore
they landed in TS
https://github.com/babel/babel/blob/e498bee10f0123bb208baa228ce6417542a2c3c4/packages/babel-compat-data/data/plugins.json#L24
update autoprefixer integration test because browserslist and
caniuse-lite were updated to more recent compat tables
-webkit-input-placeholder
is no longer needed, but some othersare, so switch to checking for
-moz-placeholder
was getting occassionally in CI
--frozen-lockfile
locally, unlike in CITags
#370 added this shortly after the syntax landed in TS.
Misc Notes
Been meaning to do this for a while and finally got to it