diff --git a/webpack.config.js b/webpack.config.js index 3a9eb56c..bbc88a70 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -34,7 +34,7 @@ const commonConfig = { { test: /\.js$/, use: 'babel-loader', - exclude: /node_modules\//, + exclude: /\bnode_modules\b/, }, ], },