Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation of Autoprefixer's process() method #13

Closed
buschtoens opened this issue May 28, 2015 · 5 comments · Fixed by #14
Closed

Deprecation of Autoprefixer's process() method #13

buschtoens opened this issue May 28, 2015 · 5 comments · Fixed by #14

Comments

@buschtoens
Copy link

Since very recently installing ember-cli-autoprefixer results in this deprecation warning during a build:

jan@ubuntu:~/code/citb$ ember serve
version: 0.2.5
Livereload server on port 35729
Serving on http://localhost:4200/
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead

Build successful - 7662ms.

Slowest Trees                                 | Total
----------------------------------------------+---------------------
Concat: Vendor                                | 4425ms
Babel                                         | 744ms
Babel                                         | 444ms

Slowest Trees (cumulative)                    | Total (avg)
----------------------------------------------+---------------------
Concat: Vendor (1)                            | 4425ms
Babel (4)                                     | 1458ms (364 ms)
@buschtoens
Copy link
Author

It appears like they've changed the whole build pipeline and Autoprefixer is now a plugin of PostCSS.

There is a broccoli plugin for PostCSS: https://github.com/jeffjewiss/broccoli-postcss

@oskarrough
Copy link

Yea, take a look at https://github.com/jeffjewiss/ember-cli-postcss

@ilkkao
Copy link

ilkkao commented May 30, 2015

I couldn't find a simple way to get ember-cli-postcss and ember-cli-less to work together. ember-cli-autoprefixer works fine with ember-cli-less so for the time being I'll keep using it even the warning is a little annoying.

@kimroen
Copy link
Owner

kimroen commented May 31, 2015

Thanks for reporting this, and sorry that I haven't been more responsive. broccoli-autoprefixer was just updated to use postcss, so I released a new version now that depends on this new version. This should make the annoying warning go away :)

Thanks to @salzhrani for reporting it over there: sindresorhus/broccoli-autoprefixer#9

Regarding ember-cli-postcss: I think that is a great thing to have, but I also think there is value in having a dedicated addon just for autoprefixer alone to make it super simple to set that up if that's all you need. That is the case for a lot of people.

@salzhrani
Copy link
Contributor

Woot!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants