minifiers: Make JSON minification more generic
authorJames Kiefer <zinefer@gmail.com>
Wed, 12 Sep 2018 17:33:14 +0000 (11:33 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 12 Sep 2018 17:33:14 +0000 (19:33 +0200)
commit3dafe206e31bb92f27802a04bf9159cbc20af234
tree6b2aabcaa3b98087ece4e2a85e1d7944366abc07
parent37d6463479952f7dfba59d899eed38b41e223283
minifiers: Make JSON minification more generic

Add a regex matcher for json types. Specifically support LD+JSON which
allows for google seo minification out of the box. Expanded JS/JSON
minification testing.
minifiers/minifiers.go
minifiers/minifiers_test.go