forked from external-repos/squoosh
* Expose type declarations in libSquoosh npm package * Add comment on why we remove the tsbuildinfo * Fix PreprocessOptions type Resize should require at least one of the width, height. The other options are optional for all preprocessors * Update libSquoosh README to reflect encode changes I also removed requiring `await image.decoded` call before calling preprocess or encode since they decode the image before the operation
11 lines
208 B
JSON
11 lines
208 B
JSON
{
|
|
"extends": "../generic-tsconfig.json",
|
|
"compilerOptions": {
|
|
"lib": ["esnext"],
|
|
"types": ["node"],
|
|
"allowJs": true,
|
|
"declaration": true
|
|
},
|
|
"include": ["src/**/*", "../codecs/**/*"]
|
|
}
|