From 1a3c6f7d9ac43bb1e4737724c6bc80584319ff55 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Fri, 29 Sep 2017 21:42:31 +0200 Subject: [PATCH] Simplify the disabling of Node polyfills, in `gulpfile.js`, since we're now using Webpack 3.x Webpack was updated a while back, but we apparently forgot to update `gulpfile.js` as well. --- gulpfile.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index ddae75285..c3a46c514 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -168,17 +168,7 @@ function createWebpackConfig(defines, output) { }, // Avoid shadowing actual Node.js variables with polyfills, by disabling // polyfills/mocks - https://webpack.js.org/configuration/node/ - node: { - console: false, - global: false, - process: false, - __filename: false, - __dirname: false, - Buffer: false, - setImmediate: false, - }, - // If we upgrade to Webpack 3.0+, the above can be replaced with: - // node: false, + node: false, }; }