Skip to content

feat(client): avoid character classes in glob patterns for rolldown-vite#352

Merged
yusukebe merged 1 commit intomainfrom
feat/client-filter-island-file-pattern
Jan 4, 2026
Merged

feat(client): avoid character classes in glob patterns for rolldown-vite#352
yusukebe merged 1 commit intomainfrom
feat/client-filter-island-file-pattern

Conversation

@yusukebe
Copy link
Copy Markdown
Member

@yusukebe yusukebe commented Jan 2, 2026

Character classes (e.g., [a-zA-Z0-9-]) in glob patterns are not supported in rolldown-vite, which breaks the client.

This change filters files with regex instead.

@yusukebe
Copy link
Copy Markdown
Member Author

yusukebe commented Jan 2, 2026

Hey @NEKOYASAN

Without this change, the client does not work well on rolldown-vite. What do you think of this? Can you review this?

Copy link
Copy Markdown
Contributor

@NEKOYASAN NEKOYASAN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hadn't checked that thoroughly. Thank you.

My only concern is that the filter maybe will remain as is after the build, but I couldn't think of any other options...

Since it doesn't seem like these features will be included in rolldown, I think this is the best way to proceed.
rolldown/rolldown#3982 (comment)

@yusukebe
Copy link
Copy Markdown
Member Author

yusukebe commented Jan 4, 2026

@NEKOYASAN

My only concern is that the filter maybe will remain as is after the build, but I couldn't think of any other options...

Ah, I see... But, so, let's go with this. Thank you!

@yusukebe yusukebe merged commit 29daf24 into main Jan 4, 2026
2 checks passed
@yusukebe yusukebe deleted the feat/client-filter-island-file-pattern branch January 4, 2026 09:02
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