Remove moment locales from build
This commit is contained in:
parent
42ab1d1402
commit
6884b7462a
@ -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