couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject fauxton commit: updated refs/heads/master to 09c82fc
Date Mon, 20 Feb 2017 08:40:43 GMT
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 <nolan.lawson@gmail.com>
Authored: Wed Feb 15 00:25:42 2017 -0800
Committer: Garren Smith <garren.smith@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: {


Mime
View raw message