Walks CSS and LESS files and outputs paths to any url() dependencies found.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
examples
README.md
package.json

README.md

css-deps

Walks CSS and LESS files and outputs paths to any url() dependencies found.

e.g.

$ ./bin/cssdeps.js examples/test.css 
/Users/RandomEtc/css-deps/examples/foo.png
/Users/RandomEtc/css-deps/examples/bar.gif

Useful if you have a build script that inlines images as data uris or adds asset-pipeline style hashes to file names based on content.