diff --git a/webpack.config.js b/webpack.config.js index 763269662..7c5596ce8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,9 +14,7 @@ module.exports = { rules: [ { test: /\.js$/, - exclude: [ - path.resolve(__dirname, 'node_modules') - ], + exclude: /node_modules/, use: { loader: 'babel-loader', options: {