From 9c5acd6de32afdbc186f79ae5b35375dda2e49b0 Mon Sep 17 00:00:00 2001 From: Yury Shkoda Date: Fri, 28 Apr 2023 13:29:31 +0300 Subject: [PATCH] fix(css): fixed css loading --- web/webpack.common.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/webpack.common.ts b/web/webpack.common.ts index dc493d0..8d9a5b1 100644 --- a/web/webpack.common.ts +++ b/web/webpack.common.ts @@ -32,7 +32,12 @@ const config: Configuration = { ] }, { - test: /\.css$/i, + test: /\.css$/, + exclude: ['/node_modules/', /\.module\.css$/], + use: ['style-loader', 'css-loader'] + }, + { + test: /\.module\.css$/i, use: [ 'style-loader', {