mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-21 04:57:05 +02:00
feat(v2): allow to use array of files in customCss field (#3474)
* feat(v2): allow to use array of files in customCss field * customCss array: - fix bug (push instead of concat) - update docs - add theme config validation + tests Co-authored-by: slorber <lorber.sebastien@gmail.com>
This commit is contained in:
parent
cc31567459
commit
ae2c063929
8 changed files with 53 additions and 7 deletions
|
@ -207,7 +207,7 @@ module.exports = {
|
|||
remarkPlugins: [require('./src/plugins/remark-npm2yarn')],
|
||||
},
|
||||
theme: {
|
||||
customCss: require.resolve('./src/css/custom.css'),
|
||||
customCss: [require.resolve('./src/css/custom.css')],
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue