New plugin with autoprefixer warnings
MichaelPetrinolis opened this issue · comments
I'm submitting a bug report
- Library Version:
1.0.0
Please tell us about your environment:
-
Operating System:
Windows [10] -
Node Version:
v10.15.3 -
NPM Version:
6.2.0 -
Browser:
all -
Language:
TypeScript -
Loader/bundler:
Webpack
Current behavior:
when run npm build we get error/warning
Replace Autoprefixer browsers option to Browserslist config.
Use browserslist key in package.json or .browserslistrc file.
in process-css.ts autoprefixer is called with {browsers: ['last 2 version']} in options, which is obsolete. There should be a .broserslistrc file or a
"browserslist": [
"defaults"
] entry in package.json
-
What is the expected behavior?
npm build should run without error/warnings -
What is the motivation / use case for changing the behavior?
to work as expected with autoprefixer