Remove unnecessary SVG attributes

This commit is contained in:
James Lyne 2022-01-13 20:09:04 +00:00
parent 9ea3f616c3
commit b12fca100e

View File

@ -23,6 +23,7 @@ export default defineConfig(({ mode }) => {
return {
plugins: [vue(), analyze(), svgSpritePlugin({
symbolId: (name) => `icon--${name}`,
removeAttrs: ['xmlns', 'width', 'height', 'version']
})],
base: './',
server: {