From 9700deeba5744d4e8efbd48353677ef6c0b222b9 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 4 Sep 2021 15:19:50 -0500 Subject: [PATCH 1/5] Webpack: add SpeedMeasurePlugin --- package.json | 1 + webpack/development.js | Bin 2158 -> 2275 bytes webpack/production.js | Bin 2883 -> 2999 bytes yarn.lock | 7 +++++++ 4 files changed, 8 insertions(+) diff --git a/package.json b/package.json index 6ce9d397e8..1423cbeffa 100644 --- a/package.json +++ b/package.json @@ -132,6 +132,7 @@ "sass": "^1.20.3", "sass-loader": "^10.0.0", "semver": "^7.3.2", + "speed-measure-webpack-plugin": "^1.5.0", "stringz": "^2.0.0", "substring-trie": "^1.0.2", "terser-webpack-plugin": "^4.2.3", diff --git a/webpack/development.js b/webpack/development.js index 10ed123aec90e10122cd7da037b2fa25ef3cc891..63575edf59396614b0f9a941496849bed7e7872c 100644 GIT binary patch delta 121 zcmaDS@K|udS*zfJ)YKH;)WqV_qSSz#()7$c1zUxp)WXutqErp_VvwwEE<{?lJT<8x yF*#ee0IY7}VN==S+ybETywq|9Omj3gzSCsk1gg+0FG?)X*euQ(%FL{3%>@8H2`qmA delta 23 fcmaDX_)cKL*~x;8+MAOZswq1O~7DmJ5{Ji24h2VnJ)D+*;#NyJT)PS7Q^vpa3TZN+3!qUv5R1NiFkgRSl zM0)Z Date: Sat, 4 Sep 2021 15:27:31 -0500 Subject: [PATCH 2/5] Webpack: remove unneeded NormalModuleReplacementPlugin It was adding 1 minute to build time, and the upstream issue is already fixed: https://github.com/remix-run/react-router/pull/5589 --- webpack/shared.js | Bin 4117 -> 3819 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/webpack/shared.js b/webpack/shared.js index 817e91ebd645ea45f9bf5e2f6810c4dd394c254c..23f781d6afd9f2949924915e09cf05b5e07b9b49 100644 GIT binary patch delta 15 XcmbQL@LG052*<=lBAX|1HnRZ$Gf@TT delta 302 zcmY+9O-chn5QTRVyhET|Wdh06Dhf*6yD)^1r3gJem6;|z-D7n%aTLiZynrVVJeHTR z87G3ZsUKcF-uFFzhtKWkc%Y(HdY`X6H_G1oGFsYDYn7&koUCoEjLXiUFMO;`5YOEM z;tVpT;3I3A!txeg2Mqus2sN!|#U1R-GweJ=Ez*W-#L7q=i(LB#H>C7YwycaZu0l?$ z%-KgFMiWA$fQ!Y| Date: Sat, 4 Sep 2021 16:05:20 -0500 Subject: [PATCH 3/5] Webpack: suppress output --- webpack/development.js | Bin 2275 -> 2184 bytes webpack/production.js | Bin 2999 -> 3008 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/webpack/development.js b/webpack/development.js index 63575edf59396614b0f9a941496849bed7e7872c..05eb9464981686b0bb201acdcb1ac3d4aa1b2a6a 100644 GIT binary patch delta 29 kcmaDX*deiPSmYEe;sQL%1$Vo_dZUV5?mWD}0{0IA~(9RL6T delta 139 zcmeAWd@Q)(1bclomjW21=9Lsx7UXBgzFmC7W+t}0{G!~%oXv-r{&4^RP(BD3 From e8623d0af84cbbd13f0458440672c7634a165eaf Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 4 Sep 2021 16:19:33 -0500 Subject: [PATCH 4/5] Webpack: UnusedFilesWebpackPlugin: ignore locale whitelist files, about.example --- webpack/shared.js | Bin 3819 -> 3940 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/webpack/shared.js b/webpack/shared.js index 23f781d6afd9f2949924915e09cf05b5e07b9b49..dae74cd869cad1e1d2f80ac71c3b52d73e17cbaf 100644 GIT binary patch delta 171 zcmaDY`$TSoCRaU|0vxF4<)@^^=jNxB=A;(uYia3gsp}w114ZKFwc_KkNF^2&=x62? zmn7yTr|Ksr<(HP|rB)>77UZO&8Ua#QoS#^blwYBrlb@WJBL}ppJR`FtH7B#UBwkA| Pt2jRoNy}zmu6Zl~`JXOS delta 53 zcmaDN_gZ#?CYP#uUVchyd~SY9X-;afzLu80mb#9DI*^W!*NTsa2*gg}6Wx4=tAhmq D(pnG^ From 13e330ebeb221ac1f48b6cbd095aac831f6e53bb Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 4 Sep 2021 16:43:57 -0500 Subject: [PATCH 5/5] Webpack: suppress polyfill output --- babel.config.js | Bin 1442 -> 1383 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/babel.config.js b/babel.config.js index 7ea3721a1844a8dab70f522dbd92b22b3fb994a6..1e167ead62d9d7978a94bd7d0eaa0096013f56f1 100644 GIT binary patch delta 20 ccmZ3){hVt<2h-+dOzcdPmoX_!e#No_08(xT(EtDd delta 71 zcmaFPwTOE|2a{xKUYUPENoIatv0h4QQfaz^twLI2PI0RB