No description or website provided.
Ruby
Latest commit 7bd283a Jul 20, 2014 @hjr3 hjr3 Merge pull request #75 from izhan/master
allowing more uglifier options other than :output
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec fixing flags using old syntax on .rspec to fix travis ci tests Jul 19, 2014
.travis.yml
.yardopts
Gemfile
LICENSE Add license. Aug 13, 2013
README.markdown adding es6 module transpiler filter Feb 8, 2014
README.yard Filter list and example in readme Oct 26, 2012
Rakefile
rake-pipeline-web-filters.gemspec

README.markdown

Rake::Pipeline::Web::Filters Build Status

This project contains a set of rake-pipeline filters for building web apps.

It includes these filters:

  • Cache Buster - Write a fingerprint into each file name
  • Coffescript - Convert Coffeescript to Javascript
  • ES6 Module Transpiler - Transpile ES6 to ES5 Javascript (Available Options)
  • GZip - Create gzip'd version of your files
  • Handlebars - Process handlebars templates
  • IIFE - Wrap source files in Immediately Invoked Function Expressions
  • Jade - Process Jade templates
  • LESS - Convert LESS to CSS
  • Markdown - Convert Markdown to HTML
  • Minispade - Wrap JS files in Minispade modules
  • Neuter - Require files in a file and generate one single combined file
  • SASS - Convert SASS to CSS
  • Stylus - Convert Stylus to CSS
  • Tilt - Use Tilt to process
  • Uglify - Minify JS
  • YUI CSS - Minify CSS
  • YUI Javascript - Minify JS

Here's a quick example of a realistic project's Assetfile:

# Assetfile
require 'rake-pipeline-web-filters'

output "site"

input "javascripts" do
  match "**/*.coffee" do
    coffee_script
  end

  match "**/*.js" do
    minispade
    concat "application.js"
    uglify
  end
end

input "stylesheets" do
  match "**/*.sass" do
    sass
  end

  match "**/*.css" do
    concat "application.css"
    yui_css
  end
end

API documentation is hosted at rubydoc.info