no runSVGO

This commit is contained in:
Stephen Zhou
2026-02-06 01:19:28 +08:00
parent 30c0a5c869
commit 75c3056d97
3 changed files with 10 additions and 6 deletions

View File

@ -223,7 +223,7 @@
"eslint-plugin-sonarjs": "3.0.6",
"eslint-plugin-storybook": "10.2.6",
"husky": "9.1.7",
"iconify-import-svg": "0.0.4",
"iconify-import-svg": "0.1.1",
"jsdom": "27.3.0",
"jsdom-testing-mocks": "1.16.0",
"knip": "5.78.0",

10
web/pnpm-lock.yaml generated
View File

@ -544,8 +544,8 @@ importers:
specifier: 9.1.7
version: 9.1.7
iconify-import-svg:
specifier: 0.0.4
version: 0.0.4
specifier: 0.1.1
version: 0.1.1
jsdom:
specifier: 27.3.0
version: 27.3.0(canvas@3.2.1)
@ -5197,8 +5197,8 @@ packages:
typescript:
optional: true
iconify-import-svg@0.0.4:
resolution: {integrity: sha512-m19qhBInZOkyILGqrU1jGGaHV+jcg+I5D0u3uC6z0Tm7SrgnfrN5cDE2wxZrEqPseh1CMgLuQN/Ttjb7qqxlvg==}
iconify-import-svg@0.1.1:
resolution: {integrity: sha512-8HwZIe3ZqCfZ68NZUCnHN264fwHWhE+O5hWDfBtOEY7u1V97yOogHaoXGRLOx17M0c8+z65xYqJXA16ieCYIwA==}
iconv-lite@0.6.3:
resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
@ -13019,7 +13019,7 @@ snapshots:
optionalDependencies:
typescript: 5.9.3
iconify-import-svg@0.0.4:
iconify-import-svg@0.1.1:
dependencies:
'@iconify/tools': 4.2.0
'@iconify/types': 2.0.0

View File

@ -162,10 +162,14 @@ const config = {
...importSvgCollections({
source: path.resolve(_dirname, 'app/components/base/icons/assets/public'),
prefix: 'custom-public',
ignoreImportErrors: true,
runSVGO: false,
}),
...importSvgCollections({
source: path.resolve(_dirname, 'app/components/base/icons/assets/vender'),
prefix: 'custom-vender',
ignoreImportErrors: true,
runSVGO: false,
}),
},
extraProperties: {