From f77591a0beeef29986841aa0797196e0dd246968 Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Wed, 10 Jul 2019 16:34:28 -0500 Subject: [PATCH] Remove setImmediate polyfill from production assets --- config/webpack.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/webpack.config.js b/config/webpack.config.js index a81590e8b8e..cd793743eb7 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -344,6 +344,8 @@ module.exports = { devtool: NO_SOURCEMAPS ? false : devtool, - // sqljs requires fs - node: { fs: 'empty' }, + node: { + fs: 'empty', // sqljs requires fs + setImmediate: false, + }, };