Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@tonypconway tonypconway released this 10 Apr 09:26
c741ccb

What's new

This release lets you add a browserslist-config-baseline object to your package.json:

  • Set "logConfigToConsole": true to see your browserslist config every time it is called.
  • Set "includeDownstreamBrowsers": true to include downstream browsers from @mdn/browser-compat-data and baseline-browser-mapping.
    • You will see a console warning if you have /with-downstream in your extends statement but you have "includeDownstreamBrowsers": false in your package.json. browserslist-config-baseline will not include downstream browses in this case.
  • Set "baselineYear": YYYY or "widelyAvailableOnDate": "YYYY-MM-DD" targets.
    • You will receive a warning in the console if one of these options conflicts with your extends statement. browserslist-config-baseline will proceed with whatever the earliest target is.

Thanks to @notpushkin!

Full Changelog: v0.3.0...v0.4.0