Skip to content

Commit 67d306e

Browse files
Brooooooklynclaude
andcommitted
chore(auth): drop the alias match comment
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 822d013 commit 67d306e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎packages/void/src/plugin-routing.ts‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -667,9 +667,6 @@ export function routingPlugin(root: string, options: RoutingPluginOptions): Plug
667667
// needing to be hoisted into the user's node_modules (pnpm
668668
// strict mode). Without this, Vite discovers them lazily on
669669
// first auth page load, triggering a disruptive program reload.
670-
// A string `find` would also match `better-auth/client/plugins`
671-
// and append `/plugins` to the file path; a RegExp is Vite's only
672-
// exact match.
673670
const betterAuthSubpaths = ['client', 'react', 'vue', 'svelte', 'solid'];
674671
const resolvedAliases = betterAuthSubpaths.flatMap((sub) => {
675672
try {

0 commit comments

Comments
 (0)