Next.js: Is it possible to use postcss with Next.js?

Created on 19 Dec 2016  路  6Comments  路  Source: vercel/next.js

I know Next.js is opinionated using Glamor, and I can use it for most things but many PostCSS plugins like rucksack for responsive font-size and px-to-rem among others are indispensable...
Is there a way to create a workflow that will allow to use postcss on top? Is there a way to add postcss configuration to the underlying webpack config? and what will it mean? that we'll need to give up using Glamor alltogether?

All 6 comments

We'll make all CSS engines completely optional. Stay tuned for the 2.0 announcement.

That is GREAT news!!! any assumption on the announcement date more or less?
Even if it is vague it would help to know if it is a matter of weeks or months...
We have a production project and we're evaluating... I'm sure you can understand...

Days!

YES!!!
:)

Any news on this?

@bkniffler unfortunately we can't support it 100% with 2.x
See: https://github.com/zeit/next.js/issues/627#issuecomment-270039476

Was this page helpful?
0 / 5 - 0 ratings

Related issues

flybayer picture flybayer  路  3Comments

jesselee34 picture jesselee34  路  3Comments

wagerfield picture wagerfield  路  3Comments

knipferrc picture knipferrc  路  3Comments

YarivGilad picture YarivGilad  路  3Comments