fix: add Apple device specific link images

* apple device specific link images to data urls
* code styling
This commit is contained in:
Remy Sharp 2017-11-21 22:14:40 +00:00 committed by GitHub
commit 0149f16c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,8 @@ var tasks = {
js: 'script',
svg: 'svg',
links: 'link[rel=stylesheet]',
favicon: 'link[rel=icon],link[rel="shortcut icon"]',
favicon: 'link[rel=icon],link[rel="shortcut icon"],' +
'link[rel="apple-touch-icon"],link[rel="apple-touch-startup-image"]',
styles: 'style',
'style-attrs': '[style]:not(svg *)', // only style attrs in HTML, not SVG
images: 'img',