Skip to content

chore(url): normalize links#128

Open
moshams272 wants to merge 1 commit into
webpack:mainfrom
moshams272:chore/normalize-links
Open

chore(url): normalize links#128
moshams272 wants to merge 1 commit into
webpack:mainfrom
moshams272:chore/normalize-links

Conversation

@moshams272

Copy link
Copy Markdown
Contributor

Summary

Created shared URL utilities (plugins/shared/urls.mjs):

  • Introduced normalizeLink to consistently strip extensions (.md, .html), trailing /index, and normalize leading slashes.
  • Introduced a unified function toPublicLink that safely merges the publicPath with the normalized path.

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-doc-kit Ready Ready Preview, Comment Jun 10, 2026 8:27pm

Request Review

@avivkeller avivkeller changed the title chore(url):normalize links chore(url): normalize links Jun 10, 2026
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