Guest User

Untitled

a guest
Feb 19th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. module.exports = {
  2. plugins: [
  3. require('cssnano')({
  4. preset: [
  5. 'advanced',
  6. {
  7. autoprefixer: { add: true, exclude: false },
  8. discardComments: { removeAll: true, exclude: false },
  9. calc: { exclude: true },
  10. colormin: { exclude: true },
  11. convertValues: { exclude: true },
  12. discardDuplicates: true,
  13. discardEmpty: true,
  14. discardOverridden: true,
  15. discardUnused: true,
  16. mergeIdents: { exclude: true },
  17. mergeLonghand: { exclude: true },
  18. mergeRules: true,
  19. minifyFontValues: { exclude: true },
  20. minifyGradients: { exclude: true },
  21. minifyParams: { exclude: true },
  22. minifySelectors: true,
  23. normalizeCharset: true,
  24. normalizeDisplayValues: true,
  25. normalizePositions: true,
  26. normalizeRepeatStyle: true,
  27. normalizeString: { exclude: true },
  28. normalizeTimingFunctions: { exclude: true },
  29. normalizeUnicode: { exclude: true },
  30. normalizeUrl: { exclude: true },
  31. normalizeWhitespace: { exclude: true },
  32. orderedValues: { exclude: true },
  33. reduceIdents: true,
  34. reduceInitial: true,
  35. reduceTransforms: true,
  36. svgo: { exclude: true },
  37. uniqueSelectors: { exclude: true },
  38. zindex: { exclude: true }
  39. }
  40. ]
  41. })
  42. ]
  43. };
Add Comment
Please, Sign In to add comment