Remove moment locales from build

This commit is contained in:
Pavel Djundik 2018-09-20 15:00:17 +03:00
parent 42ab1d1402
commit 6884b7462a

View File

@ -129,6 +129,7 @@ const config = {
to: "css/primer-tooltips.[ext]", to: "css/primer-tooltips.[ext]",
}, },
]), ]),
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
// socket.io uses debug, we don't need it // socket.io uses debug, we don't need it
new webpack.NormalModuleReplacementPlugin(/debug/, path.resolve(__dirname, "scripts/noop.js")), new webpack.NormalModuleReplacementPlugin(/debug/, path.resolve(__dirname, "scripts/noop.js")),
], ],