Twenty Twenty-One: Bring back PostCSS config.

Twenty Twenty-One uses PostCSS to convert the custom properties for Internet Explorer. Without a config file, the postcss command does nothing, causing issues in IE. This brings back the config from GitHub, which replaces all custom properties with the default values.

Props t-p, poena.
Fixes #52040.


Built from https://develop.svn.wordpress.org/trunk@49800


git-svn-id: http://core.svn.wordpress.org/trunk@49523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryelle 2020-12-14 16:49:03 +00:00
parent 71bbd2b166
commit da72be5227
4 changed files with 5325 additions and 2276 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
module.exports = {
plugins: [
require('postcss-nested'),
require('postcss-css-variables')({
preserve: false,
preserveAtRulesOrder: true
}),
require('postcss-calc')({
precision: 0
})
]
};

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-alpha-49799';
$wp_version = '5.7-alpha-49800';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.