Merge pull request #2788 from thelounge/xpaw/remove-moment-locales

Remove moment locales from build
This commit is contained in:
Jérémie Astori 2018-09-20 21:07:37 -04:00 committed by GitHub
commit 4a7be7f954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")),
],