Skip to content

Browserlist support #67

@leimonio

Description

@leimonio

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,
         }]
       }),
   ],
};

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions