diff --git a/client/config/webpack.config.dev.js b/client/config/webpack.config.dev.js index 51f741bd..7feaeaea 100644 --- a/client/config/webpack.config.dev.js +++ b/client/config/webpack.config.dev.js @@ -79,6 +79,7 @@ module.exports = { ], }, { + exclude: [/node_modules/], test: /\.(ts|js)x?$/, use: ['source-map-loader'], enforce: 'pre', diff --git a/client/config/webpack.config.prod.js b/client/config/webpack.config.prod.js index 7bb3e6f6..57d80bab 100644 --- a/client/config/webpack.config.prod.js +++ b/client/config/webpack.config.prod.js @@ -76,6 +76,7 @@ module.exports = { ], }, { + exclude: [/node_modules/], test: /\.(ts|js)x?$/, use: ['source-map-loader'], enforce: 'pre',