as long grunt-autoprefixer deprecated want migrate grunt-postcss.
i m quite new in grunt world (and dependencies) not find needed in documentation migration.
to process need 3 steps:
1- uninstall grunt-autoprefixer
i suppose i've run npm uninstall grunt-autoprefixer --save-dev first
2- install grunt-postcss
then npm install grunt-postcss --save-dev
but not sure @ if i've npm install grunt-postcss pixrem autoprefixer-core cssnano
3- update config
then should modify gruntfile.js. i've section:
autoprefixer: { options: { browsers: ['last 1 version'] }, dist: { files: [{ expand: true, cwd: '.tmp/styles/', src: '{,*/}*.css', dest: '.tmp/styles/' }] } }, my questions:
- can confirm uninstall / install part?
- how migrate config?
wrote migration guide , migrate in future, please refer:
https://github.com/ndmitry/grunt-postcss#how-to-migrate-from-grunt-autoprefixer
Comments
Post a Comment