Skip to content

Commit

Permalink
Remove moment locales from build
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Sep 20, 2018
1 parent 42ab1d1 commit 6884b74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.js
Expand Up @@ -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")),
],
Expand Down

0 comments on commit 6884b74

Please sign in to comment.