Skip to content
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

Add top-level browsers config and use it with @babel/preset-env #550

Closed
3 tasks done
insin opened this issue May 15, 2020 · 0 comments
Closed
3 tasks done

Add top-level browsers config and use it with @babel/preset-env #550

insin opened this issue May 15, 2020 · 0 comments
Assignees
Milestone

Comments

@insin
Copy link
Owner

insin commented May 15, 2020

Currently, nwb is only using a browserlist for autoprefixer's overrideBrowserslist config and the default is ancient: >1%, last 4 versions, Firefox ESR, not ie < 9

  • Add top-level browsers browserlist config which replaces use of webpack.autoprefixer /webpack.autoprefixer.overrideBrowserslist.

  • Provide browsers config to @babel/preset-env's targets config (and anything else necessary to make it work properly)

  • Update the default browserlist to something more modern.

This is needed for the next release as we're already making a breaking change to browser support by dropping the (also ancient) default polyfills.

@insin insin self-assigned this May 15, 2020
@insin insin added this to the v0.25.0 milestone May 15, 2020
insin added a commit that referenced this issue May 17, 2020
…a browserslist query

Breaking: configuring webpack.autoprefixer as a browserslist query is deprecated and won't do anything
Breaking: default browser support for CSS prefixes when building changed from '>1%, last 4 versions, Firefox ESR, not ie < 9' to '>0.2%, not dead, not op_mini all'

#550
@insin insin closed this as completed in 524a642 May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant