Skip to content

feat(qwik-router): add exclude option to rewriteRoutes#8751

Merged
Varixo merged 1 commit into
QwikDev:build/v2from
briancarbone:feat/rewrite-routes-exclude
Jun 25, 2026
Merged

feat(qwik-router): add exclude option to rewriteRoutes#8751
Varixo merged 1 commit into
QwikDev:build/v2from
briancarbone:feat/rewrite-routes-exclude

Conversation

@briancarbone

Copy link
Copy Markdown

No description provided.

@briancarbone briancarbone requested a review from a team as a code owner June 20, 2026 00:53
@changeset-bot

changeset-bot Bot commented Jun 20, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9c9f0ad

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@qwik.dev/router Minor
eslint-plugin-qwik Minor
@qwik.dev/core Minor
create-qwik Minor
@qwik.dev/react Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Varixo

Varixo commented Jun 20, 2026

Copy link
Copy Markdown
Member

Hello! Thank you for your work, looking good. One more thing - you need to update docs here https://next.qwik.dev/docs/guides/rewrites/#rewrites

@Varixo Varixo added the V2 label Jun 20, 2026
@Varixo Varixo moved this from Backlog to In progress in Qwik Development Jun 20, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 20, 2026

Copy link
Copy Markdown

Open in StackBlitz

@qwik.dev/core

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@8751

@qwik.dev/router

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@8751

eslint-plugin-qwik

npm i https://pkg.pr.new/QwikDev/qwik/eslint-plugin-qwik@8751

create-qwik

npm i https://pkg.pr.new/QwikDev/qwik/create-qwik@8751

@qwik.dev/optimizer

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/optimizer@8751

commit: 9c9f0ad

@github-actions

github-actions Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview 9c9f0ad

Skip generating rewritten route entries for matching path patterns, so a
section can opt out of being rewritten under each config. Patterns use
the same glob syntax as the SSG `include`/`exclude`, matched per config
before the rewrite node is created.
@briancarbone briancarbone force-pushed the feat/rewrite-routes-exclude branch from 67ee5fb to 9c9f0ad Compare June 20, 2026 15:48
@briancarbone briancarbone requested a review from a team as a code owner June 20, 2026 15:48
@briancarbone

Copy link
Copy Markdown
Author

Should be good to go now. 🙂

@Varixo Varixo enabled auto-merge June 25, 2026 17:04
@Varixo Varixo merged commit 397b9bc into QwikDev:build/v2 Jun 25, 2026
92 of 94 checks passed
@github-project-automation github-project-automation Bot moved this from In progress to Done in Qwik Development Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

V2: No supported way to exclude prerendered routes from the server bundle

2 participants