Skip to content

Commit

Permalink
Merge pull request #76 from Azure/bugfix/FixLayerSvgRender
Browse files Browse the repository at this point in the history
Bugfix/fix layer svg render
  • Loading branch information
tanmaya-panda1 authored Jun 6, 2024
2 parents 3c89a84 + 53fc743 commit 557d27d
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ module.exports = {
]
},
{
test: /\.(png|jp(e*)g|svg)$/,
use: [{
loader: 'url-loader',
options: {
limit: 8000, // Convert images < 8kb to base64 strings
name: 'images/[hash]-[name].[ext]'
}
}]
}
test: /\.svg/,
type: 'asset/inline'
},
{

test: /\.(jp(e*)g|png|gif)$/,
type: 'asset/resource',
},
]
},
resolve: {
Expand Down

0 comments on commit 557d27d

Please sign in to comment.