question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Browserlist support

See original GitHub issue

This is more a kind of question:

  • Would it make sense if postcss-calc transformations were based on the browsers support configured through browserlist?
  • How would this affect postcss-calc?
  • If postcss-calc is not the correct repository to implement such logic, which one would be? Would it be cssnano-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:open
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
leimoniocommented, Jan 25, 2019

Accidentally closed it twice. I’d like to contribute on that.

0reactions
alexander-akaitcommented, Jan 25, 2019

@leimonio don’t this it is out of scope, because i can’t disable some changes in calc optimization in cssnano, let’s open this

Read more comments on GitHub >

github_iconTop 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
A page to display compatible browsers from browserslist string.
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found