What's new
This release lets you add a browserslist-config-baseline
object to your package.json
:
- Set
"logConfigToConsole": true
to see yourbrowserslist
config every time it is called. - Set
"includeDownstreamBrowsers": true
to include downstream browsers from@mdn/browser-compat-data
andbaseline-browser-mapping
.- You will see a console warning if you have
/with-downstream
in yourextends
statement but you have"includeDownstreamBrowsers": false
in yourpackage.json
.browserslist-config-baseline
will not include downstream browses in this case.
- You will see a console warning if you have
- 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.
- You will receive a warning in the console if one of these options conflicts with your
Thanks to @notpushkin!
Full Changelog: v0.3.0...v0.4.0