tailwindcss/integrations
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
..
content-resolution Bump lightningcss dependency (#11388) 2023-06-07 15:56:32 +02:00
parcel Bump lightningcss dependency (#11388) 2023-06-07 15:56:32 +02:00
postcss-cli Explicitly configure Lightning CSS features, and prefer user browserslist over default browserslist (#11402) 2023-06-09 20:37:36 +02:00
rollup Explicitly configure Lightning CSS features, and prefer user browserslist over default browserslist (#11402) 2023-06-09 20:37:36 +02:00
rollup-sass Explicitly configure Lightning CSS features, and prefer user browserslist over default browserslist (#11402) 2023-06-09 20:37:36 +02:00
tailwindcss-cli Bump lightningcss dependency (#11388) 2023-06-07 15:56:32 +02:00
vite Explicitly configure Lightning CSS features, and prefer user browserslist over default browserslist (#11402) 2023-06-09 20:37:36 +02:00
webpack-4 Explicitly configure Lightning CSS features, and prefer user browserslist over default browserslist (#11402) 2023-06-09 20:37:36 +02:00
webpack-5 Explicitly configure Lightning CSS features, and prefer user browserslist over default browserslist (#11402) 2023-06-09 20:37:36 +02:00
.gitignore Integrations setup (#4354) 2021-05-18 11:21:35 -04:00
execute.js Deprecate --no-autoprefixer flag in the CLI (#11280) 2023-05-25 16:06:00 +02:00
io.js Merge engines (#11275) 2023-05-24 22:10:00 -04:00
package.json Setup integration tests (#5466) 2021-09-14 16:18:14 +02:00
resolve-tool-root.js Integrations setup (#4354) 2021-05-18 11:21:35 -04:00
syntax.js Improve css expectations in tests (#5819) 2021-10-18 12:08:48 +02:00