Skip to content
Rack-based asset packaging system http://getsprockets.org/
Ruby JavaScript CoffeeScript
Find file
Pull request Compare This branch is 2452 commits behind rails:master.
Latest commit 890be4e @sstephenson sstephenson Sprockets 2.0.0.beta.9

README.md

This is an in-progress rewrite of Sprockets to be released as version 2.0. Please see the 1.0.x branch for information on the current release.

Sprockets 2

Sprockets 2 is a Rack-based asset packaging system that concatenates and serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.

This version is a rewrite of Sprockets that addresses a number of issues with the original version's design.

  • Emphasis on serving, not generating.
  • Support for multiple concatenations.
  • Support for CSS concatenations.
  • Support for CoffeeScript, LESS, Sass and SCSS preprocessing.
  • Simplified, header-comment-based dependency declarations.
  • Opt-in interpolation with ERB support.
  • Serve images and other assets from anywhere in the load path.

More coming soon.

Something went wrong with that request. Please try again.