diff --git a/webpack/prod.config.js b/webpack/prod.config.js index 7f0479594..77b937a86 100644 --- a/webpack/prod.config.js +++ b/webpack/prod.config.js @@ -29,7 +29,7 @@ let webpackConfig = { rules: [ { test: /\.(js|jsx)$/, - exclude: /node_modules\/(?!identicons)/ , + exclude: /node_modules(?!(\/|\\)identicons)/ , loader: 'babel-loader' }, // Getting URLs for font files otherwise we get encoding errors in css-loader