Comments (5)
Is there any reason to keep the source format now that we have source maps? I pretty much never look at the generated source code, so IMO I don't care how it looks.
from css.
I totally get the "i don't look so i don't care", but it just sounds stupid to me (stupid to change whitespace, I understand your point of view, since most of the time (98%) I never checkout output).
But in that way postcss is doing a better job at keeping author coding style.
I'm working on a playground for myth.io website (so people can try & get live output) & I would like to just keep author preferences to make minimal changes (like postcss does when you use autoprefixer for example).
from css.
it's a lot of changes for a relatively trivial use case though. it's not that this module intentionally changes whitespace, it's that preserving it is extra complexity.
from css.
It would not be enough to change the stringifier. The parser would need changes as well.
However, what's the point of doing things just like postcss? Then we could just use postcss instead, couldn't we?
Recently I've had a really hard time choosing between rework and postcss. Since postcss has been rewritten in JavaScript (no more CoffeeScript) I've started to lean to it ...
from css.
@lydell I'll probably do the same so. That would involve rewriting all current plugins used by myth as postcss plugins. Ouch.
from css.
Related Issues (20)
- Hi is there any type definitions for this library ?
- " and &apos are not recognized
- undefined:2:1230: property missing ':' when using background with Data URI HOT 5
- Parsing of URL fields
- Trying to get in touch regarding a security issue HOT 4
- Declaration parsing fails with this mess of quotes, brackets & braces HOT 1
- Duplicate packages detected in the css project on Tag: v3.0.0
- Comments in a string are lost
- Mycss HOT 2
- [email protected] dependency is deprecated HOT 12
- Typescript support, performance optimization and browser friendly version (no source-map) HOT 6
- @layer is not supported with css v3 HOT 1
- Fork to continue work: https://github.com/node-projects/css-parser HOT 1
- @container support
- property missing ':' when styles have url with quotes
- Security Vulnerability report HOT 1
- Css
- Declaration matcher by regular expression is finishing too early.
- CSS
- CSS
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.