From 61b2c3e32c05298a28d9af15b586d8588c9581cf Mon Sep 17 00:00:00 2001 From: sylenien Date: Fri, 24 Jun 2022 15:28:36 +0200 Subject: [PATCH] fix(ui): tweak webpack config --- frontend/webpack.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;