fix(ui): tweak webpack config

This commit is contained in:
sylenien 2022-06-24 15:28:36 +02:00 committed by Delirium
parent 6f9a5e71f1
commit 61b2c3e32c

View file

@ -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;
export default config;