diff --git a/packages/main/config/postcss.components/postcss.config.js b/packages/main/config/postcss.components/postcss.config.js index 9df45336c1bd..68249fd608a2 100644 --- a/packages/main/config/postcss.components/postcss.config.js +++ b/packages/main/config/postcss.components/postcss.config.js @@ -4,14 +4,15 @@ const postcssCSStoESM = require('../../lib/postcss-css-to-esm/index.js'); const cssnano = require('cssnano'); module.exports = { - plugins: [ - postcssNesting(), - postcssAddFallback({importFrom: "./dist/css/themes/sap_fiori_3/parameters-bundle.css"}), + plugins: [ + postcssNesting(), + postcssAddFallback({importFrom: "./dist/css/themes/sap_fiori_3/parameters-bundle.css"}), cssnano({preset: [ 'default', { mergeLonghand: false, // https://github.com/cssnano/cssnano/issues/675 + mergeRules: false, // https://github.com/cssnano/cssnano/issues/730 }, ]}, ), - postcssCSStoESM(), - ] + postcssCSStoESM(), + ] };