Remove unnecessary SVG attributes
This commit is contained in:
parent
9ea3f616c3
commit
b12fca100e
@ -23,6 +23,7 @@ export default defineConfig(({ mode }) => {
|
|||||||
return {
|
return {
|
||||||
plugins: [vue(), analyze(), svgSpritePlugin({
|
plugins: [vue(), analyze(), svgSpritePlugin({
|
||||||
symbolId: (name) => `icon--${name}`,
|
symbolId: (name) => `icon--${name}`,
|
||||||
|
removeAttrs: ['xmlns', 'width', 'height', 'version']
|
||||||
})],
|
})],
|
||||||
base: './',
|
base: './',
|
||||||
server: {
|
server: {
|
||||||
|
Loading…
Reference in New Issue
Block a user