mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-28 17:57:48 +02:00
chore: fix codesandbox playgrounds, use Node.js 16 version (#7784)
This commit is contained in:
parent
1065e558d2
commit
7f40350d6e
4 changed files with 8 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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue