Loading core/scripts/css/compile.js +21 −38 Original line number Diff line number Diff line Loading @@ -19,23 +19,7 @@ module.exports = (filePath, callback) => { removeUnwantedComments, ], }), postcssPresetEnv({ stage: 1, preserve: false, autoprefixer: { cascade: false, grid: 'no-autoplace', }, features: { 'blank-pseudo-class': false, 'focus-visible-pseudo-class': false, 'focus-within-pseudo-class': false, 'has-pseudo-class': false, 'image-set-function': false, 'prefers-color-scheme-query': false, 'content-alt-text': false, } }), postcssPresetEnv(), postcssPixelsToRem({ propList: [ '*', Loading @@ -57,7 +41,6 @@ module.exports = (filePath, callback) => { // added to use the `postcssUrl` plugin, but aren't compatible with // `postcssPixelsToRem`. exclude: (filePath) => filePath.match(/core\/modules.*\.icons\..*\.pcss\.css$/) }), postcssHeader({ header: `/*\n * DO NOT EDIT THIS FILE.\n * See the following change record for more information,\n * https://www.drupal.org/node/3084859\n * @preserve\n */\n`, Loading Loading
core/scripts/css/compile.js +21 −38 Original line number Diff line number Diff line Loading @@ -19,23 +19,7 @@ module.exports = (filePath, callback) => { removeUnwantedComments, ], }), postcssPresetEnv({ stage: 1, preserve: false, autoprefixer: { cascade: false, grid: 'no-autoplace', }, features: { 'blank-pseudo-class': false, 'focus-visible-pseudo-class': false, 'focus-within-pseudo-class': false, 'has-pseudo-class': false, 'image-set-function': false, 'prefers-color-scheme-query': false, 'content-alt-text': false, } }), postcssPresetEnv(), postcssPixelsToRem({ propList: [ '*', Loading @@ -57,7 +41,6 @@ module.exports = (filePath, callback) => { // added to use the `postcssUrl` plugin, but aren't compatible with // `postcssPixelsToRem`. exclude: (filePath) => filePath.match(/core\/modules.*\.icons\..*\.pcss\.css$/) }), postcssHeader({ header: `/*\n * DO NOT EDIT THIS FILE.\n * See the following change record for more information,\n * https://www.drupal.org/node/3084859\n * @preserve\n */\n`, Loading