File tree Expand file tree Collapse file tree
packages/@tailwindcss-upgrade/src/template/codemods Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import type { DesignSystem } from '../../../../tailwindcss/src/design-system'
44import { segment } from '../../../../tailwindcss/src/utils/segment'
55import { printCandidate } from '../candidates'
66
7- const SEEDED = new WeakSet < DesignSystem > ( )
7+ let seenDesignSystems = new WeakSet < DesignSystem > ( )
88
99export function prefix (
1010 designSystem : DesignSystem ,
@@ -13,10 +13,10 @@ export function prefix(
1313) : string {
1414 if ( ! designSystem . theme . prefix ) return rawCandidate
1515
16- if ( ! SEEDED . has ( designSystem ) ) {
16+ if ( ! seenDesignSystems . has ( designSystem ) ) {
1717 designSystem . utilities . functional ( 'group' , ( ) => null )
1818 designSystem . utilities . functional ( 'peer' , ( ) => null )
19- SEEDED . add ( designSystem )
19+ seenDesignSystems . add ( designSystem )
2020 }
2121
2222 let v3Base = extractV3Base ( designSystem , userConfig , rawCandidate )
You can’t perform that action at this time.
0 commit comments