0.1.6 • Published 7 years ago

laravel-elixir-tinypng v0.1.6

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

laravel-elixir-tinypng

Original package by Kffein, forked by Industrious.

Instructions

  1. Go to Tinypng and generate an API Key
  2. In your gulpfile.js, specify the API key and any folder options in the following format:
require('laravel-elixir-tinypng');

elixir.config.img = {
  folder: elixir.config.assetsPath + '/img',
  outputFolder: elixir.config.publicPath + '/img',
  tinypngKey: 'APIKEY'
};