Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an additional Feature, to support the relative paths generated after compiling scss through 'compass'.
This PR adds the opt-in feature which adds the nested mapping of the assets.
As of now, all the links to asset files which are mapped are searched in all the files to be busted[replace the old link to assets to new mapped hashed links]
For E.g.
Will be mapped with
But for the case when we are dealing with relative paths, the links wouldn't be replaced.
For E.g.
For the above case, there would be no change in the file as it could not find
"assets/images/homepage/myProfile.img" to be replaced by "assets/images/homepage/myProfile.ah21as.img"
To support the feature all we need is add the following option in gruntfile:
I have also updated the Readme file for instructions to use it.