Skip to content

Commit 4fdb14d

Browse files
committed
Squoosh CLI is not available anymore
1 parent 4449234 commit 4fdb14d

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,6 @@ Where the `@task@` is either `build` or `watch`.
5050
- The `build` task builds the project.
5151
- The `watch` task will launch a task that watches for file changes; the project is then automatically built if a source file is modified.
5252

53-
## Generating AVIF and WebP image formats via CLI
54-
55-
After you have installed all dependencies, you can run [Squoosh](https://github.com/GoogleChromeLabs/squoosh/) on images to generate modern image formats quickly, for example:
56-
57-
```ShellSession
58-
$ npx squoosh-cli --webp '{"quality":50}' src/img-originals/76.png -d public/img/
59-
```
60-
61-
See [Squoosh CLI](https://github.com/GoogleChromeLabs/squoosh/tree/dev/cli) for more detailed documentation, plus [encoding options](https://github.com/GoogleChromeLabs/squoosh/blob/dev/cli/src/codecs.js). **Note** you should ideally optimize your images manually (per-image) to obtain the best compression level versus quality ratio.
62-
6353
## Shortcodes
6454

6555
Textpattern 4.7 introduced support for user-definable `<txp:output_form />` attributes (and also the short tags syntax `<txp::...>`), allowing for our own version of 'shortcodes' within articles (**note:** remember to also use `notextile.` when within Textile content). This site uses the following tags:

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
},
1212
"devDependencies": {
1313
"@lodder/grunt-postcss": "3.1.1",
14-
"@squoosh/cli": "0.7.3",
1514
"autoprefixer": "10.4.15",
1615
"cssnano": "6.0.1",
1716
"grunt": "1.6.1",

0 commit comments

Comments
 (0)