Skip to content

jsdf/browserify-cache-api

Repository files navigation

browserify-cache-api

Attaches per-module caching of module resolution and transformation to a browserify instance.

Caches to a file on disk, invalidated by source file modification time.

Used by browserify-incremental

// create a browserify instancevarb=browserify({// cache and packageCache opts are requiredcache: {},packageCache: {},// and then your opts...});// attach caching, specifying a location to store the cache filebrowserifyCache(b,{cacheFile: './tmp/browserify-cache.json'});// browserify module resolution + transformation is now cached

Contributing

Please see the Contributor Guidelines.

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 5