diff --git a/config/webpack.dev-stage.config.js b/config/webpack.dev-stage.config.js index 001ba145e..8efc68988 100644 --- a/config/webpack.dev-stage.config.js +++ b/config/webpack.dev-stage.config.js @@ -47,7 +47,7 @@ module.exports = merge(commonConfig, { // Babel is configured with the .babelrc file at the root of the project. { test: /\.(js|jsx)$/, - exclude: /node_modules\/(?!@(open)?edx)/, + exclude: /node_modules/, use: { loader: 'babel-loader', options: { diff --git a/config/webpack.dev.config.js b/config/webpack.dev.config.js index 66278d86f..a5ab2c404 100644 --- a/config/webpack.dev.config.js +++ b/config/webpack.dev.config.js @@ -90,7 +90,7 @@ module.exports = merge(commonConfig, { // Babel is configured with the .babelrc file at the root of the project. { test: /\.(js|jsx|ts|tsx)$/, - exclude: /node_modules\/(?!@(open)?edx)/, + exclude: /node_modules/, use: { loader: 'babel-loader', options: { diff --git a/config/webpack.prod.config.js b/config/webpack.prod.config.js index 2f05591c0..b16ddc59c 100644 --- a/config/webpack.prod.config.js +++ b/config/webpack.prod.config.js @@ -71,7 +71,7 @@ module.exports = merge(commonConfig, { // Babel is configured with the .babelrc file at the root of the project. { test: /\.(js|jsx|ts|tsx)$/, - exclude: /node_modules\/(?!@(open)?edx)/, + exclude: /node_modules/, use: { loader: 'babel-loader', options: {