techjacker / node-version-assets

Version your static assets with MD5 hashes using node.js
MIT License
63 stars 11 forks source link

login-bundle.js gets deleted when tests are run #9

Closed vesse closed 8 years ago

vesse commented 11 years ago

In reference to techjacker/node-version-assets#8 - test fails because of login-bundle.versioned.js does not exist after running.

vesse commented 10 years ago

Added option requireLeadingSlash with which my use case is almost solved - it does not still fix having two files by the same name in different folders (speaking of Angular partials now so there are many files). Still requires use of keepOriginalAndOldVersions though, I might fix that later.

techjacker commented 10 years ago

Thanks for doing this vesse. A few tests are failing so it's going to need some work. I'll take a look at the weekend when I have some time hopefully.

techjacker commented 8 years ago

I've just released v1 for node 4 and solved some bugs with the tests.

Can you merge master and resubmit?

vesse commented 8 years ago

@techjacker seems the new version fixes the issue by itself since the test now passes with unmodified replace-text.js, closing.