Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Add support for non absolute sibling directories #406

Closed
wants to merge 1 commit into from
Closed

Add support for non absolute sibling directories #406

wants to merge 1 commit into from

Conversation

danemacaulay
Copy link

This PR covers issue #198 where a file structure looks like this:

+ app
  + html
    + index.html
  + scripts ...
    + bar.js
    + baz.js

and index.html has this usemin block:

<!-- build:js ../scripts/foo.js -->
<script src="../scripts/bar.js"></script>
<script src="../scripts/baz.js"></script>
<!-- endbuild -->

I'm trimming the '../' when the block is parsed and adding it back in after the revved candidates are found.
Added some test coverage and updated the readme.

@danemacaulay
Copy link
Author

close in favor of #412

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant