fix(infra): remove unused svg loader (#5398)

This commit is contained in:
Peng Xiao
2023-12-27 09:00:37 +00:00
parent 86bd2a7d72
commit 0c64535e41
4 changed files with 7 additions and 236 deletions

View File

@@ -276,19 +276,6 @@ export const createConfiguration: (
},
},
},
{
test: /\.svg$/,
use: [
'thread-loader',
{
loader: '@svgr/webpack',
options: {
icon: true,
},
},
],
exclude: [/node_modules/, /\.assets\.svg$/],
},
{
test: /\.(png|jpg|gif|svg|webp|mp4)$/,
type: 'asset/resource',