purifycss / purifycss

Remove unused CSS. Also works with single-page apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please publish 1.2.6 to NPM (currently: 1.1.9)

vphantom opened this issue · comments

Hello! In trying to install purifycss I realized part of the issues I was encountering were because it's stuck at version 1.1.9, depending on the deprecated uglifyjs (without the dash), etc. Could you please publish your latest release? Thank you!

Are you doing an npm install purifycss? It should be npm install purify-css. Notice the hyphen between purify and css.

The purifycss package was taken just so that nobody else could take it. It also was supposed to be forgiving of the mistype and downloaded the correct package anyway, but I haven't updated it recently (I'll do that soon).

Thank you for the clarification. I found the NPM entry via Google, saw this repo's name being also purifycss and completely missed the purify-css from the README. Sorry about that.

@kennyt Why not npm deprecate purifycss@"*" "Please use purify-css instead" in addition? It’ll warn whenever someone installs purifycss.

@j-f1 thanks for the tip. Done

Ah, interestingly I just removed purify-css and replaced it with purifycss because it is a newer version, and I saw no warnings:

http://www.earth.org.uk/note-on-site-technicals-4.html#purifycss