packagebuilder icon indicating copy to clipboard operation
packagebuilder copied to clipboard

move browserslist to package.json, use more modern default browsers

Open secured opened this issue 5 years ago • 2 comments

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

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

secured avatar Sep 30 '20 07:09 secured

Would love to have that implemented as the autoprefixer build step throws that warning. I personally prefer the .browserslistrc file to have that config isolated from the more general package.json file, but that is just my opinion, either way is better than the warning in the grunt task.

machwatt avatar Nov 06 '20 10:11 machwatt

I personally prefer the .browserslistrc file to have that config isolated from the more general package.json file, but that is just my opinion, either way is better than the warning in the grunt task.

Good idea.

I replaced node-sass with sass because the package is deprecated. I also got problems when compiling with modern sass @benjaminkott

secured avatar Jan 08 '21 12:01 secured