Merge pull request #4627 from kchadha/run-pify-through-babel-loader
Run pify package through babel loader.
This commit is contained in:
1 file changed
+5
-1
+5
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user