Skip to content

Commit ae59af6

Browse files
authored
Merge pull request #31 from ChazUK/feature/update-svg-to-ts-v7
feat: 🎸 (deps) update svg-to-ts to v7
2 parents c71fdba + ea063ad commit ae59af6

File tree

6 files changed

+444
-1287
lines changed

6 files changed

+444
-1287
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dist: trusty
22
sudo: required
33
language: node_js
44
node_js:
5-
- '12'
5+
- '14'
66

77
os:
88
- linux

README.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,7 @@ In our example we call it `generate-icons`. You then need to specify the followi
4545
"typeName": "dinosaurIcon",
4646
"prefix": "dinosaurIcon",
4747
"svgoConfig": {
48-
"plugins": [
49-
{
50-
"cleanupAttrs": true
51-
}
52-
]
48+
"plugins": ["cleanupAttrs"]
5349
}
5450
}
5551
}
@@ -80,11 +76,7 @@ In our example we call it `generate-icons`. You then need to specify the followi
8076
"modelFileName": "dinosaur-icons",
8177
"barrelFileName": "index",
8278
"svgoConfig": {
83-
"plugins": [
84-
{
85-
"cleanupAttrs": true
86-
}
87-
]
79+
"plugins": ["cleanupAttrs"]
8880
},
8981
"compileSources": true
9082
}
@@ -106,11 +98,7 @@ In our example we call it `generate-icons`. You then need to specify the followi
10698
"fileName": "dinosaur-icons",
10799
"objectName": "dinosaur-icons",
108100
"svgoConfig": {
109-
"plugins": [
110-
{
111-
"cleanupAttrs": true
112-
}
113-
]
101+
"plugins": ["cleanupAttrs"]
114102
},
115103
"compileSources": true
116104
}

0 commit comments

Comments
 (0)