From 6884b7462ab17221cf03100eecb7ce194302af07 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Thu, 20 Sep 2018 15:00:17 +0300 Subject: [PATCH] Remove moment locales from build --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index ca39f13c..7ca4e8ff 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -129,6 +129,7 @@ const config = { to: "css/primer-tooltips.[ext]", }, ]), + new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), // socket.io uses debug, we don't need it new webpack.NormalModuleReplacementPlugin(/debug/, path.resolve(__dirname, "scripts/noop.js")), ],