brocessing / kirby-webpack

:muscle: A Kirby CMS starter-kit with modern frontend tools
MIT License
179 stars 23 forks source link

fixed outdated pattern #62

Closed chrtz closed 3 years ago

chrtz commented 4 years ago

The way the autoprefixer plugin was implemented here is outdated.

warn
  Replace Autoprefixer browsers option to Browserslist config.
  Use browserslist key in package.json or .browserslistrc file.

  Using browsers option cause some error. Browserslist config
  can be used for Babel, Autoprefixer, postcss-normalize and other tools.

  If you really need to use option, rename it to overrideBrowserslist.

  Learn more at:
  https://github.com/browserslist/browserslist#readme
  https://twitter.com/browserslist

Therefore I renamed browsers into overrideBrowserslist. Probably, the best way to do it would to move the plugin config into the package.json