Skip to content

Conversation

@polarbirke
Copy link
Member

Use Yarn resolution in package.json to require the current
major version of clean-css (unfortunately, gulp-clean-css seems
to be dead with the pertinent PR remaining unmerged since 2021).

clean-css 5.3.2 includes a fix that enables us to use conainer
queries without losing them to CSS minification.

We no longer need to disable URL rebasing as the new default
is false.

This seems to be a good time to bump compatibility up to ie11 (the
default is >11 which is still a bit too strict for us in 2023).

Use Yarn resolution in package.json to require the current
major version of clean-css (unfortunately, gulp-clean-css seems
to be dead with the pertinent PR remaining unmerged since 2021).

clean-css 5.3.2 includes a fix that enables us to use conainer
queries without losing them to CSS minification.

We no longer need to disable URL rebasing as the new default
is `false`.

This seems to be a good time to bump compatibility up to ie11 (the
default is >11 which is still a bit too strict for us in 2023).
@polarbirke polarbirke changed the title Resolve to current major version of clean-css Resolve to current major version of clean-css (Case 146359) Mar 22, 2023
@polarbirke polarbirke merged commit 806c894 into master Mar 22, 2023
@polarbirke polarbirke deleted the fix-container-queries-clean-css branch March 22, 2023 18:07
polarbirke added a commit that referenced this pull request Mar 22, 2023
…(Case 146359) (#29)

This PR builds on #28 but switches us over to a self-maintained fork of gulp-clean-css because Yarn resolutions do not work for transitive dependencies – and we do not want to define resolutions in every project that uses webfactory-gulp-preset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant