Skip to content

Support explicit relative URL paths - #19

Merged
ioquatix merged 1 commit into
mainfrom
explicit-relative-urls
Aug 15, 2026
Merged

Support explicit relative URL paths#19
ioquatix merged 1 commit into
mainfrom
explicit-relative-urls

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Summary

  • add an explicit: true option to relative URL and path conversion
  • prefix same-directory results with ./ while leaving ../ paths unchanged
  • accept the option for absolute URLs while preserving them unchanged

This allows consumers such as import maps to request URL-like relative references without changing the existing RFC-minimal default.

Testing

  • BUNDLE_WITHOUT=maintenance bundle exec bake test (387 tests, 566 assertions)
  • BUNDLE_WITHOUT=maintenance bundle exec rubocop

@ioquatix
ioquatix merged commit e17a07a into main Aug 15, 2026
40 checks passed
@ioquatix
ioquatix deleted the explicit-relative-urls branch August 15, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants