posthtml-minify-classnames
posthtml-minify-classnames copied to clipboard
📩 Rewrites classnames and ids inside of html and css files to reduce file size.
Thank you for your work on this plugin! When processing [vanilla CSS nesting selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/Nesting_selector) with `removeUnfound: true`, it seems that some class names are not recognized, resulting in broken styling....
_For example_ from: `` to: ``
I expect `removeUnfound` to also remove classes from the styles. This allows reduction of utility stylesheets to their minimal. Example: ``` #some-id { text-transform: uppercase; } .header__intro { color: blue;...
Can you export some types for this please?
Very helpful system! However I have noted it does not get the conditional MSIE things like so: ``` ``` Can this be minified? Thanks!
Found a use for this plugin so naturally I'd like to bring it up to date and release a stable `1.0.0`. - [ ] ESM/CJS hybrid - [ ] require...
Bumps [postcss](https://github.com/postcss/postcss) to 8.4.38 and updates ancestor dependency [postcss-safe-parser](https://github.com/postcss/postcss-safe-parser). These dependencies need to be updated together. Updates `postcss` from 7.0.36 to 8.4.38 Release notes Sourced from postcss's releases. 8.4.38 Fixed...
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.8.3 to 1.9.2. Release notes Sourced from @biomejs/biome's releases. CLI v1.9.2 CLI New features Added support for custom GritQL definitions, including: Pattern and predicate definitions: https://docs.grit.io/guides/patterns Function...
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 2.0.5 to 2.1.1. Release notes Sourced from @vitest/coverage-v8's releases. v2.1.1 🐞 Bug Fixes browser: Make example test callbacks async - by @aqandrew in vitest-dev/vitest#6484 (16aa7) Optimize vitest-browser-vue...
Hello, is there a way to retrieve the mapping between old css classnames and the new ones ? Thanks