Parcel: Problem with autoprefixer

Created on 31 Oct 2018  路  1Comment  路  Source: parcel-bundler/parcel

I add
$ npm install postcss-modules autoprefixer

Then creacte file .postcssrc

with
{
"modules": true,
"plugins": {
"autoprefixer": true
}
}

and nothing.. style in dist folder include only converted sass file, without add prefixes..
How to solve it?

| Software
| MacOs 10.14.1
| Parcel last version

Question

Most helpful comment

try

"autoprefixer": {}

or something like

  "postcss": {
    "modules": true,
    "plugins": {
      "autoprefixer": {
        "browsers": [
          ">1%",
          "last 4 versions",
          "Firefox ESR",
          "not ie < 9"
        ],
        "flexbox": "no-2009"
      }
    }
  }
}

>All comments

try

"autoprefixer": {}

or something like

  "postcss": {
    "modules": true,
    "plugins": {
      "autoprefixer": {
        "browsers": [
          ">1%",
          "last 4 versions",
          "Firefox ESR",
          "not ie < 9"
        ],
        "flexbox": "no-2009"
      }
    }
  }
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

dotdash picture dotdash  路  3Comments

donaldallen picture donaldallen  路  3Comments

medhatdawoud picture medhatdawoud  路  3Comments

Niggler picture Niggler  路  3Comments

davidnagli picture davidnagli  路  3Comments