about summary refs log tree commit diff
path: root/config/webpack
diff options
context:
space:
mode:
authorNolan Lawson <nolan@nolanlawson.com>2017-05-06 02:02:19 -0700
committerEugen Rochko <eugen@zeonfederated.com>2017-05-06 11:02:19 +0200
commit7c0cd2597afb4fad4d9e06a80072f79c69281aef (patch)
tree1835432bf156eb3db923b5b5eaf632c56d51e2ec /config/webpack
parent37caf0b36e90e7ec6219dcaaf6cdf4e1a2825cce (diff)
remove unnecessary buffer polyfill (#2833)
Diffstat (limited to 'config/webpack')
-rw-r--r--config/webpack/shared.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/webpack/shared.js b/config/webpack/shared.js
index 3d1b14e15..ef9feaeba 100644
--- a/config/webpack/shared.js
+++ b/config/webpack/shared.js
@@ -55,5 +55,11 @@ module.exports = {
 
   resolveLoader: {
     modules: [paths.node_modules]
+  },
+
+  node: {
+    // Called by http-link-header in an API we never use, increases
+    // bundle size unnecessarily
+    Buffer: false
   }
 }