klei / grunt-injector

Inject references to files into other files (think scripts and stylesheets into an html file)
MIT License
106 stars 38 forks source link

Update injector.js #47

Closed pekac closed 8 years ago

pekac commented 8 years ago

Ability to insert files from parent directories first. In gruntfile.js it's only needed to set option parentDirFrist to true. injector: { options: { parentDirFirst: true, ... } ... } P.S. All credit goes to this guy -> http://stackoverflow.com/users/5795253/necho-musikari

ptitgraig commented 8 years ago

Hello, thanks for this PR. Could you explain the use case in the README for people to understand this feature better ? Regards