mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-24 06:27:02 +02:00
feat(core): async docusaurus.config.js creator function (#6165)
This commit is contained in:
parent
5dcfa8fa23
commit
f8a670966e
8 changed files with 249 additions and 16 deletions
|
@ -515,4 +515,12 @@ const config = {
|
|||
}),
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
// TODO temporary dogfood async config, remove soon
|
||||
async function createConfig() {
|
||||
await new Promise((resolve) => {
|
||||
setTimeout(resolve, 0);
|
||||
});
|
||||
return config;
|
||||
}
|
||||
|
||||
module.exports = createConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue