Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Ignore moment's locales for bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Apr 9, 2020
1 parent af7a487 commit 5da8752
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
20 changes: 10 additions & 10 deletions dist/datapackage-ui.min.js

Large diffs are not rendered by default.

Binary file modified dist/datapackage-ui.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/datapackage-ui.min.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ const webpackConfig = {
},
],
},
plugins: [new webpack.EnvironmentPlugin({ NODE_ENV, DEBUG })],
plugins: [
new webpack.EnvironmentPlugin({ NODE_ENV, DEBUG }),
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
],
devServer: {
historyApiFallback: true,
noInfo: true,
Expand Down

0 comments on commit 5da8752

Please sign in to comment.