Merge pull request #2788 from thelounge/xpaw/remove-moment-locales
Remove moment locales from build
This commit is contained in:
commit
4a7be7f954
@ -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")),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user