Skip to content

Commit c208c60

Browse files
committed
fix(css): disable MergeLonghand
Reenable once cssnano/cssnano#675 is fixed
1 parent 85051b4 commit c208c60

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/helpers/cssnano-preset-default.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const postcssMinifyParams = require('postcss-minify-params');
2727
// const postcssNormalizeCharset = require('postcss-normalize-charset');
2828
const postcssMinifyFontValues = require('postcss-minify-font-values');
2929
const postcssNormalizeUrl = require('postcss-normalize-url');
30-
const postcssMergeLonghand = require('postcss-merge-longhand');
30+
// const postcssMergeLonghand = require('postcss-merge-longhand');
3131
const postcssDiscardDuplicates = require('postcss-discard-duplicates');
3232
// const postcssDiscardOverridden = require('postcss-discard-overridden');
3333
const postcssNormalizeRepeatStyle = require('postcss-normalize-repeat-style');
@@ -80,7 +80,7 @@ module.exports = function defaultPreset (opts = {}) {
8080
[postcssNormalizeRepeatStyle, options.normalizeRepeatStyle],
8181
[postcssNormalizePositions, options.normalizePositions],
8282
[postcssNormalizeWhitespace, options.normalizeWhitespace],
83-
[postcssMergeLonghand, options.mergeLonghand],
83+
// [postcssMergeLonghand, options.mergeLonghand],
8484
[postcssDiscardDuplicates, options.discardDuplicates],
8585
[postcssMergeRules, options.mergeRules],
8686
[postcssDiscardEmpty, options.discardEmpty],

0 commit comments

Comments
 (0)