Adds granular control over level 1 optimizations.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Mon, 9 Jan 2017 14:17:39 +0000 (15:17 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Tue, 10 Jan 2017 06:47:49 +0000 (07:47 +0100)
commit03c18813c64402688f456e5133339532c98c00d6
tree2a02edd5910ebf2e3443e3654ddbe47005b91036
parent9628b7503d1fe182ca21036a3db6eb1dbb782100
Adds granular control over level 1 optimizations.

Why:

* So users can turn them on/off selectively;
* still keeping sane defaults for most users.

Note: moves `properties.fontWeight` compatibility flag to level 1
optimizations as that's not a compatibility flag, but rather a
user preference - see #756.
README.md
bin/cleancss
lib/optimizer/level-1/optimize.js
lib/options/optimization-level.js
lib/utils/compatibility.js
test/optimizer/level-1/optimize-test.js
test/options/optimization-level-test.js
test/utils/compatibility-test.js