Run pify package through babel loader

This commit is contained in:
Ray Schamp 2019-03-07 09:22:53 -05:00 committed by GitHub
parent 77e7393307
commit 8df59a1c6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,11 @@ module.exports = {
{ {
test: /\.jsx?$/, test: /\.jsx?$/,
loader: 'babel-loader', 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$/, test: /\.scss$/,