From 8df59a1c6a9d755e01bda762d9bd29bfd30d3ebe Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Thu, 7 Mar 2019 09:22:53 -0500 Subject: [PATCH] Run pify package through babel loader --- webpack.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 476359ba1..a44f1b64f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -78,7 +78,11 @@ module.exports = { { test: /\.jsx?$/, loader: 'babel-loader', - include: [path.resolve(__dirname, 'src'), /node_modules[\\/]scratch-[^\\/]+[\\/]src/] + include: [ + path.resolve(__dirname, 'src'), + /node_modules[\\/]scratch-[^\\/]+[\\/]src/, + /node_modules[\\/]pify/ + ] }, { test: /\.scss$/,