Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ Six types are commonly supported in picture parsing. (MozJPEG | WebP | WebP2 | J
**OxiPNG**
Png format converts webp format by default, but if you do not specify the conversion attribute, the suffix will not be modified.


### Be careful
Squoosh does not support sass and node 18 or above in web.
Sass is not supported because of a global variable conflict
It will be solved in the future.
If there are similar requirements, it is recommended to change mode to sharp.
### MozJPEG

```ts
Expand Down Expand Up @@ -225,9 +231,9 @@ Png format converts webp format by default, but if you do not specify the conver
```


## Sharp DefaultConfiguration
<!-- ## Sharp DefaultConfiguration -->

## TODO
<!-- ## TODO

- sass moudle navigator web error (refactor)
- transform with unplugin context
Expand All @@ -242,4 +248,4 @@ Png format converts webp format by default, but if you do not specify the conver
- refactor generateBundle before write chunk
- typescript Type hint
- Optimize the overall logical structure of the code
- Provides two modes to build and closebundle
- Provides two modes to build and closebundle -->