Created
February 6, 2018 20:13
-
-
Save phun-ky/10f0f4a81697275e647f6e86c2f78dbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
plugins: [ | |
require('cssnano')({ | |
preset: [ | |
'advanced', | |
{ | |
autoprefixer: { add: true, exclude: false }, | |
discardComments: { removeAll: true, exclude: false }, | |
autoprefixer: false, | |
calc: false, | |
colormin: false, | |
convertValues: false, | |
discardDuplicates: true, | |
discardEmpty: true, | |
discardOverridden: true, | |
discardUnused: true, | |
mergeIdents: false, | |
mergeLonghand: false, | |
mergeRules: false, | |
minifyFontValues: false, | |
minifyGradients: false, | |
minifyParams: false, | |
minifySelectors: false, | |
normalizeCharset: false, | |
normalizeDisplayValues: false, | |
normalizePositions: false, | |
normalizeRepeatStyle: false, | |
normalizeString: false, | |
normalizeTimingFunctions: false, | |
normalizeUnicode: false, | |
normalizeUrl: false, | |
normalizeWhitespace: false, | |
orderedValues: false, | |
reduceIdents: false, | |
reduceInitial: false, | |
reduceTransforms: false, | |
svgo: false, | |
uniqueSelectors: false, | |
zindex: false | |
} | |
] | |
}) | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment