Skip to content

bognarlaszlo/esbuild-squoosh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esbuild-squoosh

An esbuild plugin for compressing resolved images using libSquoosh

Install

npm i -D esbuild-squoosh

Usage

import esbuild from 'esbuild'
import squoosh from 'esbuild-squoosh'

import squooshConfig from './config/squoosh.config.js'

esbuild.build({
    plugins: [
        squoosh(squooshConfig)
    ]
})

If this PostCSS plugin helped you in any way please consider buying me a book @ my buymeacoffee.com page

"Buy Me A Coffee"

TODO:

  • Include tests

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published