Fix CSS fallback

Turn off `mergeLonghand` because it combines `padding-*`,
breaking fallback styles.
This commit is contained in:
Dmitry Lyzo 2022-10-07 15:14:30 +03:00
parent 82db69c378
commit 2c31a55b08

10
cssnano.config.js Normal file
View File

@ -0,0 +1,10 @@
module.exports = {
preset: [
'default',
// Turn off `mergeLonghand` because it combines `padding-*` and `margin-*`,
// breaking fallback styles.
// https://github.com/cssnano/cssnano/issues/1163
// https://github.com/cssnano/cssnano/issues/1192
{ mergeLonghand: false }
]
};