Fix CSS fallback
Turn off `mergeLonghand` because it combines `padding-*`, breaking fallback styles.
This commit is contained in:
parent
82db69c378
commit
2c31a55b08
1 changed files with 10 additions and 0 deletions
10
cssnano.config.js
Normal file
10
cssnano.config.js
Normal 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 }
|
||||
]
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue