Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 547 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 547 Bytes

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'
};