Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prime cache from options #6

Closed
wants to merge 1 commit into from

Conversation

hurrymaplelad
Copy link
Contributor

Pass cache and pkgcache in as options to share caches when building multiple client files with overlapping dependencies trees. Dropped a clean build of 5 files depending on ~1600 modules from 30s down to 13s.

I'll integrate with grunt-watchify and or grunt-browserify to share the cache by default when you configure a target with multiple destination files.

Could be used to persist cache to disk to speed up subsequent runs when we're confident the files haven't changed.

@morganrallen
Copy link

+1
I am interested in using this to kick of multiple bundles of the same code base, but with different transforms.

@ghost ghost closed this in 8e87f5c Nov 30, 2013
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants