diff --git a/frontend/webpack.config.ts b/frontend/webpack.config.ts index 5e345b261..0da209bba 100644 --- a/frontend/webpack.config.ts +++ b/frontend/webpack.config.ts @@ -48,10 +48,12 @@ const config: Configuration = { }, { test: /\.s[ac]ss$/i, + exclude: /node_modules/, use: [stylesHandler, 'css-loader', 'postcss-loader', 'sass-loader'], }, { test: /\.css$/i, + exclude: /node_modules/, use: [ stylesHandler, { @@ -90,6 +92,7 @@ const config: Configuration = { // }, { test: /\.(svg)$/i, + exclude: /node_modules/, use: [ { loader: 'file-loader', @@ -137,4 +140,4 @@ const config: Configuration = { }, }; -export default config; \ No newline at end of file +export default config;