-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Support installing or adding with --project flag to generate build-icons config in angular.json
Would be nice if schema matched the three possible conversionTypes.
Relates to #9
Sample for constants:
"update-icons": {
"builder": "@angular-extensions/svg-icons-builder:svg-icons-builder",
"options": {
"conversionType": "constants",
"srcFiles": ["./projects/dinosaur-icons/icons/**/*.svg"],
"outputDirectory": "./projects/dinosaur-icons/icons",
"interfaceName": "DinosaurIcon",
"typeName": "dinosaurIcon",
"prefix": "dinosaurIcon",
"modelFileName": "dinosaur-icons",
"svgoConfig": {
"plugins": [
{
"cleanupAttrs": true
}
]
},
"additionalModelFile": "./projects/dinosaur-icons/src/lib",
"compileSources": true
}
},
Metadata
Metadata
Assignees
Labels
No labels