fix(ui): tweak webpack config
This commit is contained in:
parent
6f9a5e71f1
commit
61b2c3e32c
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue