Comments (13)
Dropped ya a mail, just send me what ya got and I'll have a look at it.
from css-purge.
👍
I will investigate some reduced cases today. Let me know when you find something.
from css-purge.
In the input.css that you sent me, I was able to find .table-bordered t>thead>tr>th,.table-bordered t>thead>tr>td. Yeah, I think if you can try narrow it down to the problematic css (if any), it would help a lot. The rule/selector count came to 1217, is this about right?
from css-purge.
Hey @AndrewEQ
I had a bit of time in investigate the issues. First of I made sure my CSS is valid and then went in and inspected the elements that were broken after running purge.
Consider this CSS:
.test {
padding-left: 20px;
}
@-moz-document url-prefix() {
fieldset {
display: table-cell;
}
}
.test {
padding-left: 40px;
}
Purge will output this:
.test {
padding-left: 20px;
}
@-moz-document url-prefix() {
}
Apparently @-moz-document url-prefix() {}
causes issues here.
from css-purge.
Hey @dominikwilkowski, sorry I've been away, will have a look at it soon.
from css-purge.
👍 and welcome back
from css-purge.
...sorry for the delay, things been hectic over here, also thinking of doing a rewrite too.
from css-purge.
great idea. I think this has a lot of potential if it worked with files like bootstrap...
let me know if you need help.
from css-purge.
Hey @AndrewEQ
I will have a stab at a rewrite and commit it to another repo for testing. I feel you don't have enough time for this and we are in need for an application such as this. I will credit you and this repo in it and am always open for collaboration or insights.
I will start doing this next week and might use css.js as a css parser for it. Let's see how we go :)
from css-purge.
Yeah, sorry man, lots of things been happening, gonna try squeeze in some time here and there in these next few weeks.
from css-purge.
Has anyone had a look at this? I'ḿ still seeing this issue with the "@-moz-document url-prefix()" css. Thanks in advance! Good work btw :)
from css-purge.
Hi guys, I'm taking some time out to work on a new version, will take this into consideration and let ya know when its out ;)
from css-purge.
Just launched the new version!
http://rbtech.github.io/css-purge
from css-purge.
Related Issues (20)
- css-purge not removing duplicated css styles HOT 1
- Wrong styles removed HOT 1
- Add short names option
- SyntaxError: Unexpected end of JSON input HOT 1
- bug: removing used code
- bug: the line that's after one with "important" is missed
- Feature Request: support stdin / stdout
- Output includes unwanted selectors
- [Bug] Inside config file, `reduce_declarations_file_location` has no effect
- Wrong file size after and saved HOT 1
- Is there an ES6 Modules (ESM) version of CSS Purge
- After purge, all the hover styles are removed.
- Handle/output CSS files with CRLF eol HOT 2
- Output multiple blank lines
- Is there a way to purge media queries of duplicated rules?
- Empty Rules With Border-Radius And Calc Function
- Can we stop using proccess.exit(1)?
- DOMException [SyntaxError]: 'undefined' is not a valid selector
- Invalid CSS Syntax after purge
- Module Not Found Error After Installing
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 css-purge.