var CleanCSS = require('clean-css');
var cleanCSS = new CleanCSS({});
function minifyCSS(css) {
  return cleanCSS.minify(css).styles;
}
exports.minifyCSS = minifyCSS;

var CleanCSS = require('clean-css');
var cleanCSS = new CleanCSS({
  level: {
    2: {
      all: false, // sets all values to `false`
      removeDuplicateRules: true, // turns on removing duplicate rules
    },
  },
});
function minifyCSS(css) {
  return cleanCSS.minify(css).styles;
}
exports.minifyCSS = minifyCSS;

make sure theming system-generated CSS gets duplicates removed when compiling