feat: Support Node 17 (#5814)

This commit is contained in:
Sébastien Lorber 2021-10-29 17:21:01 +02:00 committed by GitHub
parent dc5a0b7068
commit 3b66c68e92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 19 additions and 18 deletions

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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"
}
}

View file

@ -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",

View file

@ -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: {