tailwindcss/tests/util
Robin Malfait ef2ebb28d5
Explicitly configure Lightning CSS features, and prefer user browserslist over default browserslist (#11402)
* exclude `Features.LogicalProperties` lightningcss feature

We don't want this to automatically apply since we have dedicated
logical property based utilities already.

We also have a feature flag to toggle some utilities to make use of
logical property based ones.

This feature should be opt-in to prevent backwards compatibility (e.g.:
RTL sites that _did_ use a mr-4 explicitly).

* update default browserslist

* explicitly include/exclude Lightning CSS features

* update tests based on new browserslist and include/exclude features from Lightning CSS

* update integration tests

* prefer user browserslist, fallback to built-in browserslist

* always include Nesting

If a custom browserslist config is used, then we don't explicitly set
the include/exclude features from Lightning CSS (except for nesting, we
always want to process nesting)

* ensure to fallback to the current working directory

* update changelog
2023-06-09 20:37:36 +02:00
..
apply-important-selector.test.js Move unknown pseudo elements outside of :is (#11345) 2023-06-08 15:00:58 -04:00
defaults.js Explicitly configure Lightning CSS features, and prefer user browserslist over default browserslist (#11402) 2023-06-09 20:37:36 +02:00
run.js Fix source maps issue resulting in a crash (#11319) 2023-05-31 18:28:11 +02:00
source-maps.js Fix source maps issue resulting in a crash (#11319) 2023-05-31 18:28:11 +02:00
strings.js Change how we handle defaults (optimized or not) (#6926) 2022-01-07 11:39:45 -05:00