Created
February 6, 2018 20:34
-
-
Save phun-ky/649d7dc4589186a973be8cdc01e2f033 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 }, | |
calc: { exclude: true }, | |
colormin: { exclude: true }, | |
convertValues: { exclude: true }, | |
discardDuplicates: true, | |
discardEmpty: true, | |
discardOverridden: true, | |
discardUnused: true, | |
mergeIdents: { exclude: true }, | |
mergeLonghand: { exclude: true }, | |
mergeRules: true, | |
minifyFontValues: { exclude: true }, | |
minifyGradients: { exclude: true }, | |
minifyParams: { exclude: true }, | |
minifySelectors: true, | |
normalizeCharset: true, | |
normalizeDisplayValues: true, | |
normalizePositions: true, | |
normalizeRepeatStyle: true, | |
normalizeString: { exclude: true }, | |
normalizeTimingFunctions: { exclude: true }, | |
normalizeUnicode: { exclude: true }, | |
normalizeUrl: { exclude: true }, | |
normalizeWhitespace: { exclude: true }, | |
orderedValues: { exclude: true }, | |
reduceIdents: true, | |
reduceInitial: true, | |
reduceTransforms: true, | |
svgo: { exclude: true }, | |
uniqueSelectors: { exclude: true }, | |
zindex: { exclude: true } | |
} | |
] | |
}) | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment