mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-31 09:57:03 +02:00
Merge branch 'main' into docusaurus-v2
This commit is contained in:
commit
e4fc47bec2
5 changed files with 10 additions and 8 deletions
|
@ -77,9 +77,9 @@ async function generateTemplateExample(template) {
|
|||
hardReloadOnChange: true,
|
||||
view: 'browser',
|
||||
template: 'docusaurus',
|
||||
node: '14',
|
||||
node: '16',
|
||||
container: {
|
||||
node: '14',
|
||||
node: '16',
|
||||
},
|
||||
};
|
||||
await fs.writeFile(
|
||||
|
|
4
examples/classic-typescript/sandbox.config.json
generated
4
examples/classic-typescript/sandbox.config.json
generated
|
@ -3,8 +3,8 @@
|
|||
"hardReloadOnChange": true,
|
||||
"view": "browser",
|
||||
"template": "docusaurus",
|
||||
"node": "14",
|
||||
"node": "16",
|
||||
"container": {
|
||||
"node": "14"
|
||||
"node": "16"
|
||||
}
|
||||
}
|
||||
|
|
4
examples/classic/sandbox.config.json
generated
4
examples/classic/sandbox.config.json
generated
|
@ -3,8 +3,8 @@
|
|||
"hardReloadOnChange": true,
|
||||
"view": "browser",
|
||||
"template": "docusaurus",
|
||||
"node": "14",
|
||||
"node": "16",
|
||||
"container": {
|
||||
"node": "14"
|
||||
"node": "16"
|
||||
}
|
||||
}
|
||||
|
|
4
examples/facebook/sandbox.config.json
generated
4
examples/facebook/sandbox.config.json
generated
|
@ -3,8 +3,8 @@
|
|||
"hardReloadOnChange": true,
|
||||
"view": "browser",
|
||||
"template": "docusaurus",
|
||||
"node": "14",
|
||||
"node": "16",
|
||||
"container": {
|
||||
"node": "14"
|
||||
"node": "16"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -217,5 +217,7 @@ cli.parse(process.argv);
|
|||
|
||||
process.on('unhandledRejection', (err) => {
|
||||
logger.error(err instanceof Error ? err.stack : err);
|
||||
logger.info`Docusaurus version: number=${DOCUSAURUS_VERSION}
|
||||
Node version: number=${process.version}`;
|
||||
process.exit(1);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue