chore: 更新svgo命令为svgo -f . -r(压缩当前目录下的所有SVG文件)

This commit is contained in:
xiaoxian521
2024-01-08 09:16:38 +08:00
parent 576a36cc61
commit a114dbb465
44 changed files with 44 additions and 90 deletions

View File

@@ -12,7 +12,7 @@
"preview": "vite preview",
"preview:build": "pnpm build && vite preview",
"typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck",
"svgo": "svgo -f src/assets/svg",
"svgo": "svgo -f . -r",
"cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML",
"clean:cache": "rimraf .eslintcache && rimraf pnpm-lock.yaml && rimraf node_modules && pnpm store prune && pnpm install",
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix",