fix(v2): fix Webpack persistent caching (evict on swizzle/alias/config change) (#5047)

* webpack upgrade

* refactor docusaurus-utils hash fns

* Fix webpack cache eviction problems on config/aliases/swizzle changes

* Move/Rename InitPlugin type

* fix TS typos

* Add tests for webpack aliases

* fix windows tests
This commit is contained in:
Sébastien Lorber 2021-06-24 12:56:56 +02:00 committed by GitHub
parent 9916a0b4a4
commit 99270dbab2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 274 additions and 169 deletions

View file

@ -44,7 +44,7 @@
"shelljs": "^0.8.4",
"tslib": "^2.2.0",
"utility-types": "^3.10.0",
"webpack": "^5.37.0"
"webpack": "^5.40.0"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",