From e8cd8c0d6c05d8a64f28fda7618974d2904a760a Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Fri, 13 Sep 2019 13:36:33 +0200 Subject: [PATCH] build: transpile the debug dependency with Babel https://github.com/socketio/engine.io/commit/a967626a1d1ec990090a63b4999337fd83abf223 has broken the build for IE and android 5.1 Related: https://github.com/visionmedia/debug/issues/668 --- support/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/webpack.config.js b/support/webpack.config.js index c0dd968ef..cd5340964 100644 --- a/support/webpack.config.js +++ b/support/webpack.config.js @@ -12,7 +12,7 @@ module.exports = { module: { loaders: [{ test: /\.js$/, - exclude: /(node_modules|bower_components)/, + include: /debug/, loader: 'babel', // 'babel-loader' is also a legal name to reference query: { presets: ['es2015']