@io-arc/types
Boilerplate TypeScript global types.
#
Usageindex.ts
#
Typedefine | type | description |
---|---|---|
TDirName | string | Directory name with slash for last |
TDirNameKey | string | Directory name with no slash for last |
TDirPathKey | string | Directory path with no slash for last |
TFileName | string | Filename with extension |
TFileNameKey | string | Filename with no extension |
TFilePath | string | Full filepath with extension |
TTaskName | string | Task name |
TGlobPattern | string | Glob pattern |
TJsonString | string | Using JSON.stringify |
TUrl | string | URL |
TWebpackMode | none | development | production | Webpack build mode |
#
InterfaceIfGif2WebpOptions
#
Gif to webp convert options.
See options of imagemin-gif2webp.
IfWebpConverterConfig
#
Webp convert configure.
imageminWebp.Options
is "PNG/JPEG" webp convert options.
See options of imagemin-webp.