mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 08:19:07 +02:00
feat: Support Node 17 (#5814)
This commit is contained in:
parent
dc5a0b7068
commit
3b66c68e92
13 changed files with 19 additions and 18 deletions
|
@ -35,7 +35,7 @@
|
|||
"stringify-object": "^3.3.0",
|
||||
"unist-util-visit": "^2.0.2",
|
||||
"url-loader": "^4.1.1",
|
||||
"webpack": "^5.60.0"
|
||||
"webpack": "^5.61.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/types": "2.0.0-beta.8",
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"remark-admonitions": "^1.2.1",
|
||||
"tslib": "^2.3.1",
|
||||
"utility-types": "^3.10.0",
|
||||
"webpack": "^5.60.0"
|
||||
"webpack": "^5.61.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.4 || ^17.0.0",
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
"shelljs": "^0.8.4",
|
||||
"tslib": "^2.3.1",
|
||||
"utility-types": "^3.10.0",
|
||||
"webpack": "^5.60.0"
|
||||
"webpack": "^5.61.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.4 || ^17.0.0",
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
"lodash": "^4.17.20",
|
||||
"remark-admonitions": "^1.2.1",
|
||||
"tslib": "^2.3.1",
|
||||
"webpack": "^5.60.0"
|
||||
"webpack": "^5.61.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.4 || ^17.0.0",
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
"react-waypoint": "^10.1.0",
|
||||
"sharp": "^0.29.1",
|
||||
"tslib": "^2.3.1",
|
||||
"webpack": "^5.60.0"
|
||||
"webpack": "^5.61.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.4 || ^17.0.0",
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
"clsx": "^1.1.1",
|
||||
"core-js": "^2.6.5",
|
||||
"terser-webpack-plugin": "^5.2.4",
|
||||
"webpack": "^5.60.0",
|
||||
"webpack": "^5.61.0",
|
||||
"webpack-merge": "^5.7.3",
|
||||
"workbox-build": "^6.1.1",
|
||||
"workbox-precaching": "^6.1.1",
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"joi": "^17.4.2",
|
||||
"querystring": "0.2.0",
|
||||
"utility-types": "^3.10.0",
|
||||
"webpack": "^5.60.0",
|
||||
"webpack": "^5.61.0",
|
||||
"webpack-merge": "^5.8.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
"update-notifier": "^5.1.0",
|
||||
"url-loader": "^4.1.1",
|
||||
"wait-on": "^6.0.0",
|
||||
"webpack": "^5.60.0",
|
||||
"webpack": "^5.61.0",
|
||||
"webpack-bundle-analyzer": "^4.4.2",
|
||||
"webpack-dev-server": "^4.4.0",
|
||||
"webpack-merge": "^5.8.0",
|
||||
|
|
|
@ -129,6 +129,7 @@ export function createBaseConfig(
|
|||
? 'assets/js/[name].[contenthash:8].js'
|
||||
: '[name].js',
|
||||
publicPath: baseUrl,
|
||||
hashFunction: 'xxhash64',
|
||||
},
|
||||
// Don't throw warning when asset created is over 250kb
|
||||
performance: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue