Comments (3)
Thank you for the issue!
Used old version of CSSTree which parses a content of :is()
/:where()
as a single block. That's not a problem for a specificity computation, but a problem for optimisations.
CSSTree was bumped to the latest version v2.2.0
. It should fix the issue. Please, upgrade to CSSO v5.0.5
.
from csso.
@pepelsbey You can re-install postcss-csso
(or upgrade csso
directly), and npm will install latest csso
since postcss-csso
v6.0.0 used to use ^5.0.1
.
However, for convenience I've just published postcss-csso
v.6.0.1 with csso: ^5.0.5
on board.
from csso.
@lahmatiy thank you for the fix! Do you mind updating the postcss-csso plugin’s deps? It still uses v5.0.1. It’s very convenient to use CSSO as one of the PostCSS plugins.
from csso.
Related Issues (20)
- ccoss
- how disabled colormin?
- csso ignores charset and always produces UTF-8
- Wrong border compressed result when with shorthand-border
- Shorten CSS Variable Names
- [bug] minifies removes @media tags HOT 4
- Update `css-tree` dependency HOT 2
- Minifying 0px within calc statements breaking site.
- Failure to Concatenate/Combine 2 CSS Selectors in Obscure Edge Case
- Duplicate content property removed
- Add support for CSS Nesting
- css
- Silently removes @media blocks containing "and (not ...)" HOT 3
- A bug with restructuring and shorthands
- CSS error breaks optimization HOT 2
- CSS
- TypeError: console.warn is not a function (ExecJS::ProgramError) HOT 1
- Just curious can we use this in WordPress sites? HOT 1
- Media queries using calc are completely removed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csso.