Browserlist support
See original GitHub issueThis is more a kind of question:
- Would it make sense if
postcss-calc
transformations were based on the browsers support configured throughbrowserlist
? - How would this affect
postcss-calc
? - If
postcss-calc
is not the correct repository to implement such logic, which one would be? Would it becssnano-preset-default
or a different one?
For example by using cssnano-preset-default
we can define this configuration in postcss.config.js
:
module.exports = {
plugins: [
require('cssnano')({
preset: ['default', {
calc: false,
}]
}),
],
};
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Browserslist logo by Anton Popov - GitHub
Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env - GitHub - browserslist/browserslist: Share ...
Read more >Browserslist
Shared browser compatibility config for popular JavaScript tools like Autoprefixer, Babel, ESLint, PostCSS, and Webpack. Supported by Evil Martians and Cube ...
Read more >browserslist - npm
The config to share target browsers and Node.js versions between different front-end tools. It is used in: ... Developers set their version lists ......
Read more >browserslist: What Browsers do you need to Support?
It's a pretty simple idea: browserslist allows you to describe which browsers your site needs to support, in a bunch of useful ways....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Accidentally closed it twice. I’d like to contribute on that.
@leimonio don’t this it is out of scope, because i can’t disable some changes in
calc
optimization incssnano
, let’s open this