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

yangshun picture yangshun  路  51Comments

wgao19 picture wgao19  路  31Comments

XavierNV picture XavierNV  路  24Comments

slorber picture slorber  路  24Comments

taylorreece picture taylorreece  路  28Comments