reworkcss / rework-npm

Import CSS from npm modules using rework
BSD 2-Clause "Simplified" License
87 stars 19 forks source link

Add 'cache' option for caching parsed output #18

Open jgoz opened 9 years ago

jgoz commented 9 years ago

Stores the stylesheet rules for a given absolute path if provided a cache object. After resolving an import path, checks for cached output and returns that if available.

This may be useful when rework-npm is used as part of a continuous/incremental build process using a filesystem watcher.

jgoz commented 9 years ago

@conradz Any thoughts on this PR?