diff options
Diffstat (limited to 'webpack.common.js')
-rw-r--r-- | webpack.common.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js index 53c5d5e6769..4a8cf1d2a0f 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -81,7 +81,10 @@ module.exports = [] { test: /\.js$/, loader: 'babel-loader', - exclude: /node_modules/ + // automatically detect necessary packages to + // transpile in the node_modules folder + exclude: /node_modules(?!(\/|\\)(p-finally|p-limit|p-locate|p-queue|p-timeout|p-try)(\/|\\))/ + }, { test: /\.(png|jpg|gif)$/, |