css-purge
css-purge copied to clipboard
A CSS tool written in Node JS as a command line app or library for the purging, burning, reducing, shortening, compressing, cleaning, trimming and formatting of duplicate, extra, excess or bloated CSS...
Bumps [jsdom](https://github.com/jsdom/jsdom) from 11.12.0 to 16.5.0. Release notes Sourced from jsdom's releases. Version 16.5.0 Added window.queueMicrotask(). Added window.event. Added inputEvent.inputType. (diegohaz) Removed ondragexit from Window and friends, per a spec...
When running css purge I was using the following: ```css-purge -i "assets/styles/theme-ph.css, assets/styles/webmail.css, assets/styles/skin.css, assets/styles/jquery-ui.css " -o main.min.css -m "index.html, wordpress/index.html, website-builder/index.html, terms-and-conditions/index.html, vps/index.html, privacy-policy/index.html, new-page.html, managed-vps/index.html, hosting/index.html, login/index.html, gdpr/index.html,...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.9.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.9.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
This way to exit code causes a lot of trouble when you just want to try/catch the exception. It caused the whole program to just stop when running on nodejs...
I noticed that this tool fails in some cases when a calc() function is passed as a parameter to border-radius. **For example,** .class { border-radius: 0 0 calc(0.25rem - 1px)...
Hi, I'd like to purge duplicated rules from inside media queries, but based on #14 this does not seem possible. Here is what I want to do: Input: ```css .panel...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Does not handle blank lines and comments in CSS files with CRLF eol Input file... /* Comment 1 */CRLF /* Comment 2 */CFLF /* Comment 3 */CRLF Outputs... /* Comment...