Skip to content

michrome/heroku-buildpack-mozjpeg-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

heroku-buildpack-mozjpeg-encoder

A buildpack that reduces the size of JPEG files in Heroku apps using mozjpeg.

Usage

  1. Enable Heroku buildpack multi.

    $ heroku config:add BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-multi
    
  2. Create text file named .buildpacks in the root of your application. Its contents should be:

    1. For Ruby and Rails

      https://github.com/michrome/heroku-buildpack-mozjpeg-encoder
      https://github.com/heroku/heroku-buildpack-ruby
      
    2. For Node.js

      https://github.com/michrome/heroku-buildpack-mozjpeg-encoder
      https://github.com/heroku/heroku-buildpack-nodejs
      
    3. For other languages and frameworks

      https://github.com/michrome/heroku-buildpack-mozjpeg-encoder
      # See https://devcenter.heroku.com/articles/buildpacks#default-buildpacks for your language/framework
      

Examples apps using heroku-buildpack-mozjpeg-encoder

  1. Node.js

About

Reduces the size of JPEG files in Heroku apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages