Docusaurus: Postcss Configuration

Created on 3 Dec 2019  路  2Comments  路  Source: facebook/docusaurus

馃摎 Documentation

Figured out that v2 uses PostCSS under the hood (to use autoprefixer) but the documentation doesn't mention it at all. Is there an official way to configure built-in PostCSS plugins and/or add new plugins? The standard way to do it by adding a postcss.config.js file in the project root doesn't work.

Have you read the Contributing Guidelines on issues?

yes

documentation

All 2 comments

Please note that this issue tracker is not a help form and this issue will be closed.
If you have questions, please check Stack Overflow or Discord or Twitter

But to answer your question, you'll have to modify the config internally with configureWebpack hooks.

The issue is related to the documentation which doesn't tell anything about built-in PostCSS. But ok.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lex111 picture lex111  路  3Comments

microbouji picture microbouji  路  3Comments

sebqq picture sebqq  路  3Comments

chandankumar4 picture chandankumar4  路  3Comments

awibox picture awibox  路  3Comments