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.



git-svn-id: https://develop.svn.wordpress.org/trunk@49800 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Kelly Choyce-Dwan 2020-12-14 16:47:37 +00:00
parent 6bd675869c
commit 8eda4984e1
3 changed files with 5324 additions and 2275 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
})
]
};