Luismahou / grunt-hashres

Hashes your js and css files and rename the <script> and <link> declarations that refer to them in your html/php/etc files.
MIT License
115 stars 41 forks source link

package folder name with period in it #49

Open cYCL157 opened 9 years ago

cYCL157 commented 9 years ago

We have been using hashres for awhile and it works great -- at least until one of the developers added a bower component named spin.js today. The tasks fails with this error message:

Warning: EISDIR, illegal operation on a directory Use --force to continue.

If I delete the spin.js folder first -- the tasks completes successfully -- without the needed file of course.

Suggestions or help would be much appreciated.

dherbst commented 9 years ago

add filter: 'isFile', so that it only processes files and does not process folders.

robertwbradford commented 9 years ago

Thanks, @dherbst. That came just in time for me.