-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not an issue: CSS optimization #871
Comments
Amazing. Same concern as with #870 but it really pays off! |
@xoseperez : that was also my concern but it's worth the trouble. when you update the pure css files, just run; |
@gn0st1c I have added a replace in the gulp file that should take care of replacing "pure-" with "p-" over the single merged file just before the gzipping. |
@xoseperez : do not push the code.. because gulp will also replace file references but won't rename the files;
|
your and my file size differences are because, i have more optimization locally. removing unnecessary html end tags, etc etc. i'll PR when i'm done :) |
@gn0st1c I have pushed my code which does the replacing over the merged file, so the files in the |
@xoseperez :
i thought you might want to see/test this.
i renamed pure css class names and saved about 4k.
just replaced "pure-" with "p-"
before: 65539 index.html.gz
after: 61060 index.html.gz
www.tar.gz
The text was updated successfully, but these errors were encountered: