preactjs / preact-cli

😺 Your next Preact PWA starts in 30 seconds.
MIT License
4.68k stars 376 forks source link

Update autoprefixer version #752

Open stramel opened 5 years ago

stramel commented 5 years ago

Do you want to request a feature or report a bug? Requesting autoprefixer be updated to the latest so consumers can take advantage of latest features and browserlist syntax.

What is the current behaviour? Fails to compile when using not dead in the browserslist

If the current behaviour is a bug, please provide the steps to reproduce.

What is the expected behaviour? Should properly compile when using not dead in the browserslist.

If this is a feature request, what is motivation or use case for changing the behaviour? Motivation is to use the latest browserslist features.

Please mention other relevant information.

"browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ]
kylepfeeley commented 5 years ago

Also it's unclear to me how to turn CSS grid prefixes on for Autoprefixer. The documentation mentions instructions on updating Browserlist in the package.json file to update Browsers supported, but grid prefixes are a different setting entirely and are automatically set to false.