grunt-autoprefixer icon indicating copy to clipboard operation
grunt-autoprefixer copied to clipboard

Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead

Open crixusshen opened this issue 9 years ago • 2 comments

"Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead"

I execute the command, console will appear after this warning, I have not found the options can be configured in the debug, how take out???

The following is my configuration:

autoprefixer: {
  options: {
                diff: false,
                browsers: ['ios 5', 'android 2.3']
            },
            server: {
                options: {
                    map: true
                },
                files: [{
                    expand: true,
                    cwd: '.tmp/styles/',
                    src: '**/*.css',
                    dest: '.tmp/styles/'
                }]
            },
            dist: {
                files: [{
                    expand: true,
                    cwd: '.tmp/styles/',
                    src: '**/*.css',
                    dest: '.tmp/styles/'
                }]
            }
        }

crixusshen avatar Mar 18 '16 23:03 crixusshen

Use grunt-postcss with autoprefixer instead of grunt-autoprefixer.

ai avatar Mar 19 '16 06:03 ai

thanks ^_^

在 2016年3月19日,下午2:30,Andrey Sitnik [email protected] 写道:

Use grunt-postcss with autoprefixer instead of grunt-autoprefixer.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/nDmitry/grunt-autoprefixer/issues/122#issuecomment-198647932

crixusshen avatar Mar 19 '16 07:03 crixusshen