From 22a0a13610b1e96c6b05423ba5802d705426a2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Thu, 7 Dec 2017 23:10:12 +0100 Subject: [PATCH] 'worker-loader' requires 'webpack' as peerDependency --- gulpfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index d7ec6eae8881e..0690862d55edc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1301,7 +1301,10 @@ gulp.task('dist-pre', license: DIST_LICENSE, dependencies: { 'node-ensure': '^0.0.0', // shim for node for require.ensure - 'worker-loader': '^1.0.0', // used in external/dist/webpack.json + 'worker-loader': '^1.1.0', // used in external/dist/webpack.json + }, + peerDependencies: { + 'webpack': '^2.0.0 || ^3.0.0', // peerDependency of 'worker-loader' }, browser: { 'fs': false,