mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 15:31:04 +01:00
586fab12bf
In preparation for updating Core to use Node.js version 18.x, this updates the dependancies for the Twenty Twenty-One theme to the latest versions. This addresses an unsupported engine warning where packages within the dependency tree did not support Node.js > 16.x. All changes to built files are included in this commit. These changes are a result of the following: - Identical sets of properties for multiple selectors are now consolidated into one. - The removal of a duplicate `--branding--description--font-family` definition. - The addition of the `postcss-discard-empty` dependency, which removes empty CSS rules within IE stylesheets after the previous consolidation is performed. - `stylelint` has only been updated to 14.x (15.x is the latest). This is because `@wordpres/stylelint-config` currently has a version constraint of `^14.2` and does not properly support 15.x. The last change of note is the new configuration for the `value-keyword-case` rule in `.stylelint-css.json`. This was added as a way to prevent the `currentColor` from being changed to all lowercase. Props jorbin, poena. See #59663, #59658. Built from https://develop.svn.wordpress.org/trunk@57122 git-svn-id: http://core.svn.wordpress.org/trunk@56633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
16 lines
319 B
JavaScript
16 lines
319 B
JavaScript
module.exports = {
|
|
plugins: [
|
|
require('postcss-nested'),
|
|
require('postcss-css-variables')({
|
|
preserve: false,
|
|
preserveAtRulesOrder: true
|
|
}),
|
|
require('postcss-calc')({
|
|
precision: 0
|
|
}),
|
|
require('postcss-discard-duplicates'),
|
|
require('postcss-merge-rules'),
|
|
require('postcss-discard-empty')
|
|
]
|
|
};
|