forked from ember-cli/broccoli-asset-rewrite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove relative segments when prepending
Consistent with prepending behavior prior to ember-cli#35. Which even removes all depths of relative segments, regardless if it resolves to a valid asset. Perhaps that was never intentional, but nobody's complained. Fixes ember-cli#36.
- Loading branch information
1 parent
1c9ced0
commit e88659a
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/fixtures/relative-urls-prepend/input/assets/url-in-styles.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.sample-img{width:50px;height:50px;background-image:url('images/foobar.png')} | ||
|
||
.sample-img2{width:50px;height:50px;background-image:url('../img/saturation.png')} | ||
.sample-img2{width:50px;height:50px;background-image:url('../../../img/saturation.png')} |