Fixes #785 - adds `@font-face` de-duplication.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Tue, 27 Dec 2016 14:12:28 +0000 (15:12 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Tue, 27 Dec 2016 14:13:15 +0000 (15:13 +0100)
commitccb8af4e1e1efed6c896066cdc55544e5ced0ecd
treef35093b643015ebc37dc558662c258ae5a408d1c
parent870c6bce1257c03eedaf1367b701fe7fbbcc2569
Fixes #785 - adds `@font-face` de-duplication.

Why:

* Extra `@font-face` rules can be safely removed.
* There's no API/CLI switch to turn it off as it's pending
  a refactoring in v4 - see #842.
History.md
lib/optimizer/advanced.js
lib/optimizer/remove-duplicate-font-at-rules.js [new file with mode: 0644]
test/optimizer/remove-duplicate-font-at-rules-test.js [new file with mode: 0644]