diff --git a/package.json b/package.json index 4caec0c8dd..89d94fa929 100644 --- a/package.json +++ b/package.json @@ -191,6 +191,7 @@ "webpack-assets-manifest": "^5.0.6", "webpack-bundle-analyzer": "^4.4.2", "webpack-cli": "^4.8.0", + "webpack-deadcode-plugin": "^0.1.16", "webpack-merge": "^5.8.0", "wicg-inert": "^3.1.1" }, diff --git a/webpack/shared.js b/webpack/shared.js index 0ccd628cb1..8135fa512d 100644 Binary files a/webpack/shared.js and b/webpack/shared.js differ diff --git a/yarn.lock b/yarn.lock index 9ed45677b1..ece5c1947f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10786,6 +10786,14 @@ webpack-cli@^4.8.0: v8-compile-cache "^2.2.0" webpack-merge "^5.7.3" +webpack-deadcode-plugin@^0.1.16: + version "0.1.16" + resolved "https://registry.yarnpkg.com/webpack-deadcode-plugin/-/webpack-deadcode-plugin-0.1.16.tgz#f58ec7bd908325247396438a50afc209bfd01bdd" + integrity sha512-T3oRlzftN4jU8Wm8rjx9mzYC8zr4CND5kNgh6EBJyhWy68F5kZ334EjdBjOKDEpUHuybBuxi/SviVUFsP0gx4g== + dependencies: + chalk "^3.0.0" + fast-glob "^3.1.1" + webpack-dev-middleware@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.1.0.tgz#90a645b077e85f661c5bb967dc32adc3eceb5cfd"