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