Merge pull request #4627 from kchadha/run-pify-through-babel-loader

Run pify package through babel loader.
This commit is contained in:
Paul Kaplan authored and GitHub committed 2019-03-06 17:11:07 -05:00
commit c109c10db6
1 file changed
+5 -1
+5 -1
View File
@@ -36,7 +36,11 @@ const base = {
rules: [{
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/
],
options: {
// Explicitly disable babelrc so we don't catch various config
// in much lower dependencies.