Comments (13)
Ref #32
from postcss-cssnext.
why shouldn't it be the default behaviour?
from postcss-cssnext.
This is adding a lot of new rules. And it's only required for IE 8-.
And for one year I personnally only worked on IE9+ project.
But that why I created #32.
from postcss-cssnext.
it's not that much rules, is it?
btw IE8 is actually the lowest browser many people still have to care about (i.e. http://www.quirksmode.org/blog/archives/2014/09/ie_survey_resul.html)
from postcss-cssnext.
It can be a lot of if you use rem a lot. For my concern it's the unit I use the most now (maybe it's not a good thing). So it can easily create between x1.5 to x2 rules.
Anyway I can make it default & use false in my case, its not a big deal. The best option will be to rely on #32.
from postcss-cssnext.
yup
in most of my cases it's essentially for the grids and font-size reset after fixing the inline-block bug :)
from postcss-cssnext.
Probably not worth the time
from postcss-cssnext.
I've take a quick look to add this feature (disabled by default) using node-pixrem (based on postcss), but the plugin is not exported & use a global option (ouch). This will need a PR to make things right.
I'm also seeing an interesting issue robwierzbowski/node-pixrem#5
from postcss-cssnext.
It's only IE8 and Opera Mini without rem
support. We don't even use fallbacks for new projects at Twitter :).
from postcss-cssnext.
I know, but I still have projects for client like Airbus that need IE8 support (mainly because they do not update their IT assets).
French are slow :)
from postcss-cssnext.
Sure. But it can just be a postcss plugin right? Does it have to be included in this project?
from postcss-cssnext.
I think according to the way I load plugins (by using require() only when needed), it won't create any perf issue if it's defined as dep, but not required all the time.
And for now, we can't chain cssnext with others plugins (until postcss 3 is out).
Also, we are likely to be like autoprefixer in the future, & having deps that won't be used according to the browsers (so features) list. Don't you think ?
from postcss-cssnext.
Now that #32 has landed in master, I will add rem and it might be disabled by default according to browserslist default.
from postcss-cssnext.
Related Issues (20)
- Errors When Running Jest Unit Tests HOT 3
- Using variable in rgba is not interpolated correctly HOT 2
- Preserving css variables HOT 1
- no such file or directory @std/esm/esm.js.gz HOT 2
- 4.0 => deprecation + alias to postcss-preset-env ? HOT 23
- How to get rid of the source of modern CSS? HOT 1
- -
- Complex calc function simplifying incorrectly HOT 2
- Autoprefixer update HOT 3
- Using `env` (previously `constant`) in a `calc` HOT 5
- Module build failed: BrowserslistError: Unknown browser major HOT 3
- postcss-nesting version to old for jest inside vue-cli / vue-test-utils HOT 6
- Logical properties support HOT 2
- calc(..) adds space between my unit and the resulting integer. HOT 3
- How to disable autoprefixer? HOT 1
- deprecation warning messages link may happen broken HOT 1
- Can I disable compilation of css-variables to string? HOT 2
- Support for CSS Shadow Parts ? ::part and ::theme HOT 1
- [feature request] provide support for string-set and other paged media HOT 1
- TypeError: dest.on is not a function
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 postcss-cssnext.