|
|
@@ -97,7 +97,7 @@ def build(files, css, html, filename): |
|
|
|
css = css.replace("'img/grabbing.png'","'data:image/png;base64," + read('css/img/grabbing.png').encode('base64').replace('\n', '') + "'") |
|
|
|
css = css.replace("'img/loading.svg'","'data:image/svg+xml;base64," + read('css/img/loading.svg').encode('base64').replace('\n', '') + "'") |
|
|
|
css = cssCompress(css) |
|
|
|
css = css.replace("'img/sprites.png'","'data:image/png;base64," + read('css/img/sprites.png').encode('base64').replace('\n', '') + "'") |
|
|
|
css = css.replace("'img/sprites.png'","'data:image/svg+xml;base64," + read('css/img/sprites.svg').encode('base64').replace('\n', '') + "'") |
|
|
|
|
|
|
|
print "=" * 40 |
|
|
|
print "Compiling", htmlfilename |
|
|
|