I have read through the issue #1521
on how to use postcss/autoprefixer I am still really unlcear.
Do I just npm install autoprefixer --save-dev
Is this the right way of doing it?
I have also read the postcss/autoprefixer docs I still do not understand how to go about
Please assist, thanks
I have installed the **postcss postcss-cli autoprefixer* as dev dependencies
npm install --save-dev postcss postcss-cli autoprefixer
And then create a npm script to run the postcss cli and auto prefixer like so
"script": {
...
"prefixcss": "postcss -u autoprefixer --autoprefixer.browsers 'last 2 versions' -r src/**/*.css",
...
}
And then ran the script before I rebuilt
npm run prefixcss