diff --git a/package.json b/package.json index 4b028ca3f65..41e40fdfcbc 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,8 @@ "request": "2.83.0", "sinon": "4.4.6", "tar": "4.4.1", - "webpack": "3.10.0" + "webpack": "4.4.1", + "webpack-cli": "2.0.13" }, "dependencies": { "ajv": "6.3.0", diff --git a/webpack.config.js b/webpack.config.js index 7681760b879..de7c453ef2f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -18,6 +18,9 @@ fs.readdirSync('node_modules') module.exports = { + // Set the webpack4 mode 'none' for compatibility with the behavior + // of the webpack3 bundling step. + mode: 'none', entry: './src/main.js', target: 'node', output: {