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

support an array of dependencies resolved at the same relative path #27

Open
tomdale opened this issue Aug 3, 2016 · 1 comment
Open

Comments

@tomdale
Copy link

tomdale commented Aug 3, 2016

No description provided.

@stefanpenner
Copy link
Owner

@tomdale Is the following what you would like to see?

hashForDep(['rsvp', 'glimmer', 'ember-source'], __dirname);

Which would be shorthand for:

const sourceHashes = ['rsvp', 'glimmer', 'ember-source'].map(x => hashForDep(x, __dirname)).join('\x00');
crypto.createHash('sha1').update(sourceHashes).digest('hex');

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

No branches or pull requests

2 participants