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',

View File

@@ -92,7 +92,6 @@
"@perfsee/webpack": "^1.8.4",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@sentry/webpack-plugin": "^2.8.0",
"@svgr/webpack": "^8.1.0",
"@swc/core": "^1.3.93",
"@testing-library/react": "^14.0.0",
"@types/animejs": "^3",