mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 14:00:21 +00:00
Remove moment locales from build
This commit is contained in:
parent
42ab1d1402
commit
6884b7462a
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue