Skip to content

Add a Vite plugin to auto-prefix -webkit-user-select so it's not so often forgotten#4288

Merged
Keavon merged 2 commits into
masterfrom
autoprefix-user-select
Jun 28, 2026
Merged

Add a Vite plugin to auto-prefix -webkit-user-select so it's not so often forgotten#4288
Keavon merged 2 commits into
masterfrom
autoprefix-user-select

Conversation

@Keavon

@Keavon Keavon commented Jun 28, 2026

Copy link
Copy Markdown
Member

No description provided.

@Keavon Keavon changed the title Add a Vite plugin to auto-prefix -webkit-user-select so it's not so often forgotten Add a Vite plugin to auto-prefix -webkit-user-select so it's not so often forgotten Jun 28, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request removes manual -webkit-user-select CSS declarations from several Svelte components and introduces a custom Vite plugin, webkitUserSelectPrefix, to automatically inject the prefix during build time. Feedback was provided to improve the plugin's regular expression to handle optional semicolons and prevent incorrect matching on preprocessor variables.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread frontend/vite.config.ts Outdated
@Keavon Keavon force-pushed the autoprefix-user-select branch from aa29f28 to 5c8d3d4 Compare June 28, 2026 06:42
@Keavon Keavon merged commit fa27d53 into master Jun 28, 2026
9 checks passed
@Keavon Keavon deleted the autoprefix-user-select branch June 28, 2026 07:20
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.

1 participant