build: update vite-plugin-svg-icons
This commit is contained in:
parent
cca8ff90d6
commit
08020826dc
|
|
@ -47,7 +47,7 @@
|
|||
"vite-plugin-pages": "^0.20.2",
|
||||
"vite-plugin-purge-icons": "^0.7.0",
|
||||
"vite-plugin-svg": "^0.7.0",
|
||||
"vite-plugin-svg-icons": "^1.0.5",
|
||||
"vite-plugin-svg-icons": "^2.0.1",
|
||||
"vite-plugin-vue-svg": "^0.1.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ import Svg from 'vite-plugin-vue-svg'
|
|||
|
||||
// Used to generate svg sprite map
|
||||
// [website] https://github.com/anncwb/vite-plugin-svg-icons
|
||||
import SvgIcons from 'vite-plugin-svg-icons'
|
||||
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
|
||||
|
||||
// Bundles only the icons you use
|
||||
// [website] https://github.com/antfu/purge-icons
|
||||
|
|
@ -119,7 +119,7 @@ export default defineConfig({
|
|||
open: false
|
||||
}),
|
||||
PurgeIcons(),
|
||||
SvgIcons({
|
||||
createSvgIconsPlugin({
|
||||
iconDirs: [
|
||||
resolve('d2/svg/icon')
|
||||
],
|
||||
|
|
|
|||
18
yarn.lock
18
yarn.lock
|
|
@ -514,7 +514,7 @@
|
|||
resolved "https://registry.npmmirror.com/@types/q/-/q-1.5.5.tgz#75a2a8e7d8ab4b230414505d92335d1dcb53a6df"
|
||||
integrity sha512-L28j2FcJfSZOnL1WBjDYp2vUHCeIFlyYI/53EwD/rKUBQ7MtUUfbQWiyKJGpcnv4/WgrhWsFKrcPstcAt/J0tQ==
|
||||
|
||||
"@types/svgo@^2.6.0":
|
||||
"@types/svgo@^2.6.1":
|
||||
version "2.6.1"
|
||||
resolved "https://registry.npmmirror.com/@types/svgo/-/svgo-2.6.1.tgz#ea012623186ba5319d579d56fed8729a65bfdfa4"
|
||||
integrity sha512-4BfUnd19L25BD2iRyZTNuG4pfL9HBs+rvF7zp5maKhbX42uOpc5prGdBXXmCdHlVZfTWq8pNP/vxQt9v8ACxqQ==
|
||||
|
|
@ -2805,6 +2805,11 @@ pathe@^0.0.2:
|
|||
resolved "https://registry.npmmirror.com/pathe/-/pathe-0.0.2.tgz#d690780e578a8127e1d65828387609c153afc309"
|
||||
integrity sha512-mmK20YtPb4yXHlaPuOD/uPIpRu7iIK45GA/GiRSlNpIdfWDG5aEQmFT1HHtBmJB+t/6DvFOtOsEipsPA8Bx2cw==
|
||||
|
||||
pathe@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.npmmirror.com/pathe/-/pathe-0.2.0.tgz#30fd7bbe0a0d91f0e60bae621f5d19e9e225c339"
|
||||
integrity sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw==
|
||||
|
||||
picocolors@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"
|
||||
|
|
@ -3651,16 +3656,17 @@ vite-plugin-purge-icons@^0.7.0:
|
|||
"@purge-icons/generated" "^0.7.0"
|
||||
rollup-plugin-purge-icons "^0.7.0"
|
||||
|
||||
vite-plugin-svg-icons@^1.0.5:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.npmmirror.com/vite-plugin-svg-icons/-/vite-plugin-svg-icons-1.1.0.tgz#a02dd241c6697565a016ac6197bb1ff2ec1a8c98"
|
||||
integrity sha512-dmpr7Wq8vQN6ajBrVTrBxy8wJjQfcP30i73q+40uAZc8p7EwphBNZ+bVTI0enFaCrsITI8y0Ruo/mN/SaJQ6Hw==
|
||||
vite-plugin-svg-icons@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.npmmirror.com/vite-plugin-svg-icons/-/vite-plugin-svg-icons-2.0.1.tgz#7269a0962593509f371b9e2bb344d469db2c6df9"
|
||||
integrity sha512-6ktD+DhV6Rz3VtedYvBKKVA2eXF+sAQVaKkKLDSqGUfnhqXl3bj5PPkVTl3VexfTuZy66PmINi8Q6eFnVfRUmA==
|
||||
dependencies:
|
||||
"@types/svgo" "^2.6.0"
|
||||
"@types/svgo" "^2.6.1"
|
||||
cors "^2.8.5"
|
||||
debug "^4.3.3"
|
||||
etag "^1.8.1"
|
||||
fs-extra "^10.0.0"
|
||||
pathe "^0.2.0"
|
||||
svg-baker "1.7.0"
|
||||
svgo "^2.8.0"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue