@io-arc/types
Boilerplate TypeScript global types.
Usage#
index.ts
Type#
| define | 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 |
Interface#
IfGif2WebpOptions#
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.