Comments (5)
I wonder if we should use this instead: https://github.com/cssnext/postcss-cssnext
@tylersticka @lyzadanger Thoughts? It might free us up from these dependency blockers.
from cloudfour.com-patterns.
I believe I mildly protested using cssnext instead of the individual PostCSS plugins as-needed way back when because of this very issue. It seems like it would be simpler to just add whichever of the dozen or so dependencies we actually need from cssnext rather than having to manage a middle-man dependency of questionable convenience (questionable because we've now arguably spent as much time figuring out what to do with it being out of date as we would have installing those modules individually).
But, as before, I don't feel like cssnext is awful. I see it as a convenience module, and this process seems inconvenient, which is why I'd question its usefulness again. But not the end of the world either way.
from cloudfour.com-patterns.
It seems like it would be simpler to just add whichever of the dozen or so dependencies we actually need from cssnext rather than having to manage a middle-man dependency of questionable convenience (questionable because we've now arguably spent as much time figuring out what to do with it being out of date as we would have installing those modules individually).
The appeal of cssnext for me has more to do with the convenience of someone else curating that list of plugins to keep up with the spec. This holdup isn't really the fault of cssnext itself, but with some of the plugins it uses (so in theory, this same issue could arise even without the abstraction of PostCSS if we were using those offending plugins.)
I would like to monitor the development of this postcss-cssnext
package though:
The cssnext package will have a major release soon in order to introduce a minor but breaking changes in the Node.js API, but you will get the same tool as before. The nice thing is: cssnext will use postcss-cssnext under the hood.
from cloudfour.com-patterns.
This holdup isn't really the fault of cssnext itself, but with some of the plugins it uses (so in theory, this same issue could arise even without the abstraction of PostCSS if we were using those offending plugins.)
Sure, except I'd argue we'd be more empowered to resolve it (by being able to cherry-pick what we do or don't need). Middle-man packages like cssnext are convenient until the day they aren't, and then they're an obstacle.
Again, I don't hate cssnext. Just my two cents.
from cloudfour.com-patterns.
Noting this commit here for reference: postcss/postcss-import@0626939#diff-168726dbe96b3ce427e7fedce31bb0bc
In short: the new version of postcss-import
that works with PostCSS 5.0 isn't going to work on our machines (Node 0.10), so I guess we'll just close this until that issue can be sorted out.
from cloudfour.com-patterns.
Related Issues (20)
- Adjust `o-deck` column minimum width based on use cases that shipped HOT 2
- Comment component docs in Storybook cause the browser to hang HOT 8
- Image block captions should be able to extend past the width of the image HOT 3
- Add ability to limit video width HOT 3
- Tables in comments are unstyled
- Allow Group block to use o-rhythm class
- Unable to require/import files other than main export in Node HOT 2
- [Contact Page] Make WordPress font size `big` utility responsive
- [Contact Page] Download icon
- [Contact Page] Add `c-input` modifier for more padding HOT 1
- Create Highlight theme in preparation for server-side rendering HOT 4
- Explore updates to our fluid type calculations for simplicity and accessibility
- Explore alternate button pointer effects
- Media-text block not handling most common use case very well HOT 1
- Embed block contents do not fill their container
- I would love a "Side Note" block
- Radio component
- Quote citation styles intended for WordPress blocks are leaking out to all blockquotes
- Inline code color has too little contrast against lightest gray
- Should we disable the CSSNano calc optimization? HOT 1
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 cloudfour.com-patterns.