From ddf09b792426c7f0777b3b4f4d35c98f198ec8dd Mon Sep 17 00:00:00 2001 From: Aleksey Smolenchuk Date: Fri, 30 Nov 2018 12:37:15 -0800 Subject: [PATCH] do not override default webpack polyfills settings --- build/get-webpack-config.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build/get-webpack-config.js b/build/get-webpack-config.js index 12cb3a83..e7054637 100644 --- a/build/get-webpack-config.js +++ b/build/get-webpack-config.js @@ -580,12 +580,6 @@ if (process.env.NODE_ENV && process.env.NODE_ENV !== '${env}') { function getNodeConfig(runtime) { const emptyForWeb = runtime === 'client' ? 'empty' : false; return { - // Polyfilling process involves lots of cruft. Better to explicitly inline env value statically - process: false, - // We definitely don't want automatic Buffer polyfills. This should be explicit and in userland code - Buffer: false, - // We definitely don't want automatic setImmediate polyfills. This should be explicit and in userland code - setImmediate: false, // We want these to resolve to the original file source location, not the compiled location // in the future, we may want to consider using `import.meta` __filename: true,