You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2017/02/20 08:40:43 UTC
fauxton commit: updated refs/heads/master to 09c82fc
Repository: couchdb-fauxton
Updated Branches:
refs/heads/master 64ac9e84e -> 09c82fca3
trim moment locale using IgnorePlugin
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/09c82fca
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/09c82fca
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/09c82fca
Branch: refs/heads/master
Commit: 09c82fca338e7c4694f419e730309042973e8d44
Parents: 64ac9e8
Author: Nolan Lawson <no...@gmail.com>
Authored: Wed Feb 15 00:25:42 2017 -0800
Committer: Garren Smith <ga...@gmail.com>
Committed: Mon Feb 20 10:40:27 2017 +0200
----------------------------------------------------------------------
webpack.config.release.js | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/09c82fca/webpack.config.release.js
----------------------------------------------------------------------
diff --git a/webpack.config.release.js b/webpack.config.release.js
index 1030782..ce873b4 100644
--- a/webpack.config.release.js
+++ b/webpack.config.release.js
@@ -31,6 +31,9 @@ module.exports = {
'NODE_ENV': JSON.stringify('production') // This has effect on the react lib size
}
}),
+ // moment doesn't offer a modular API, so manually remove locale
+ // see https://github.com/moment/moment/issues/2373
+ new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin({
compress: {