mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
Run the data URIs in base skin CSS through optipng
Brings the gz size downfrom 154K to 75K. That's 7K smaller than the special optimized skin I made which includes .pngs instead of .bmps.
This commit is contained in:
parent
0844e9e0c1
commit
703d72099d
2 changed files with 2 additions and 1 deletions
1
css/base-skin.min.css
vendored
Normal file
1
css/base-skin.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -13,7 +13,7 @@
|
|||
<meta property="og:image" content="https://webamp.org<%= require('./images/preview.png') %>" />
|
||||
<link rel='stylesheet' type='text/css' href="<%= require('!file-loader?name=[path][name]-[hash].[ext]!./css/page.css') %>" />
|
||||
<!-- Some fancy attributes here to ensure we don't block rendering the page -->
|
||||
<link rel='preload' type='text/css' href="<%= require('!file-loader?name=[path][name]-[hash].[ext]!./css/base-skin.css') %>" as="style" onload="this.onload=null;this.rel='stylesheet'"/>
|
||||
<link rel='preload' type='text/css' href="<%= require('!file-loader?name=[path][name]-[hash].[ext]!./css/base-skin.min.css') %>" as="style" onload="this.onload=null;this.rel='stylesheet'"/>
|
||||
<link rel="shortcut icon" sizes="16x16 32x32" href="<%= require('./images/favicon.ico') %>">
|
||||
|
||||
<!-- See https://goo.gl/OOhYW5 -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue