A plugin (or "transform") for AssetGraph that optimizes CSS background
images by creating sprite images. The spriting is guided by a set of
custom CSS properties with a
(More docs will follow!)
AssetGraph-sprite uses node-canvas for creating the sprite images themselves, which is not a pure-node module and requires the Cairo development sources version 1.10 or later (libcairo2-dev on Ubuntu & friends) and compilation of some glue C++-code to work.
When Cairo is in place, you can proceed to install AssetGraph-sprite:
$ npm install assetgraph-sprite
AssetGraph-sprite is licensed under a standard 3-clause BSD license -- see the
LICENSE-file for details.