summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2019-07-10 16:34:28 -0500
committerMike Greiling <mike@pixelcog.com>2019-07-10 16:34:28 -0500
commitf77591a0beeef29986841aa0797196e0dd246968 (patch)
tree50b3a45e90299458ff5ae1f962fbecc66d04255f /config/webpack.config.js
parent426597590cb54a840cac6b4a3f302c54ea102596 (diff)
downloadgitlab-ce-f77591a0beeef29986841aa0797196e0dd246968.tar.gz
Remove setImmediate polyfill from production assets
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js6
1 files 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,
+ },
};