Rack-based asset packaging system
Ruby JavaScript CoffeeScript
Pull request Compare This branch is 2914 commits behind rails:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
LICENSE
README.md
Rakefile
sprockets.gemspec

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.