initial commit, build is not working

This commit is contained in:
Konstantin Vulsonov
2018-09-18 23:16:10 +03:00
commit 024d0e3125
12 changed files with 1395 additions and 0 deletions

21
src/config.d.ts vendored Normal file
View File

@@ -0,0 +1,21 @@
declare type SVGOConfig = [
{
removeAttrs: {
attrs: string
}
},
{
removeViewBox: boolean
}
]
export interface SvgOptimizeConfig {
attrs?: string;
removeViewBox?: boolean
}
export interface MainConfig {
source: string;
result: string;
optimize?: SvgOptimizeConfig
}