MCPcopy Create free account

hub / github.com/dcastil/tailwind-merge / functions

Functions489 in github.com/dcastil/tailwind-merge

↓ 1 callersFunctionpackPackage
Packs this package into the scratch directory and returns the tarball path derived from the manifest, so the check does not depend on pnpm's console o
packages/next/scripts/test-packed-package.mjs:68
↓ 1 callersFunctionpackPackage
Packs this package into the scratch directory and returns the tarball path derived from the manifest, so the check does not depend on pnpm's console o
packages/vite/scripts/test-packed-package.mjs:68
↓ 1 callersFunctionpadding
(size)
packages/next/tests/fixtures/app/app/merged.jsx:4
↓ 1 callersFunctionparseArguments
(argv: string[])
packages/configurator/src/run-cli.ts:154
↓ 1 callersFunctionprocessClassDefinition
( classDefinition: ClassGroup<AnyThemeGroupIds>[number], classPartObject: ClassPartObject, classGr
packages/tailwind-merge/src/lib/class-group-utils.ts:186
↓ 1 callersFunctionprocessClassGroups
( classGroups: Record<AnyClassGroupIds, ClassGroup<AnyThemeGroupIds>>, theme: ThemeObject<AnyThemeGrou
packages/tailwind-merge/src/lib/class-group-utils.ts:158
↓ 1 callersFunctionprocessFunctionDefinition
( classDefinition: Function, classPartObject: ClassPartObject, classGroupId: AnyClassGroupIds,
packages/tailwind-merge/src/lib/class-group-utils.ts:220
↓ 1 callersFunctionprocessObjectDefinition
( classDefinition: Record<string, ClassGroup<AnyThemeGroupIds>>, classPartObject: ClassPartObject,
packages/tailwind-merge/src/lib/class-group-utils.ts:239
↓ 1 callersFunctionprocessStringDefinition
( classDefinition: string, classPartObject: ClassPartObject, classGroupId: AnyClassGroupIds, )
packages/tailwind-merge/src/lib/class-group-utils.ts:210
↓ 1 callersFunctionprojectState
(root: string, options: LoaderOptions)
packages/next/src/loader.ts:55
↓ 1 callersFunctionpruneItems
* Keeps the items of one class-group level that some name in `names` reaches, walking nested prefix objects the way tailwind-merge's class map does: a
packages/configurator/src/prune.ts:96
↓ 1 callersFunctionpruneRuntimeModule
( generated: GeneratedRuntimeModule, pruning: PruningState, scan: UsageScan, )
packages/plugin-core/src/generation.ts:150
↓ 1 callersFunctionpushStringRecordMap
(lines: string[], property: string, map: Map<string, string[]>)
packages/configurator/src/emit.ts:452
↓ 1 callersFunctionqualifiedProperty
(entry: { context: string; property: string })
packages/configurator/src/design-system.ts:179
↓ 1 callersFunctionqualify
(classes: string)
packages/configurator/tests/edge-cases.test.ts:557
↓ 1 callersFunctionreadBuildFile
(root: string, file: string)
packages/next/tests/helpers.ts:155
↓ 1 callersFunctionreadClientChunks
(root: string)
packages/next/tests/helpers.ts:160
↓ 1 callersFunctionreadFixture
(relativePath: string)
packages/configurator/tests/scan.test.ts:225
↓ 1 callersFunctionreadJson
(filePath)
scripts/check-library-release.mjs:182
↓ 1 callersFunctionreadLibraryVersionArgument
()
scripts/check-library-release.mjs:62
↓ 1 callersFunctionreadMtimes
(files: Iterable<string>)
packages/plugin-core/src/generation.ts:202
↓ 1 callersFunctionreadSourceDirectoryArguments
The source trees to scan, as given after `--sources` up to the next flag, resolved against the package directory.
scripts/check-library-release.mjs:49
↓ 1 callersFunctionreadStatements
Tokenize each stylesheet once so marker detection and import traversal share the same comment/string boundaries. Missing or unreadable files cannot co
packages/plugin-core/src/discovery.ts:103
↓ 1 callersFunctionreadWorkspacePackageVersions
Maps every workspace package name under packages/ to its manifest version.
scripts/stamp-dev-version.mjs:82
↓ 1 callersFunctionreconcileNegativeRoots
Runtime lookup removes a leading minus, so opposite static names, functional roots, and overlapping static/functional names share trie paths. Only com
packages/configurator/src/custom-utilities.ts:224
↓ 1 callersFunctionregisterDependencies
* Hands the session's dependency graph to the bundler: files as file dependencies, directories (the recovery directories reported for missing imports,
packages/next/src/loader.ts:124
↓ 1 callersFunctionreloadIfChanged
Swaps the served module in after a regeneration that produced a real change: invalidates it in every environment and asks the browser to reload. Retur
packages/vite/src/index.ts:147
↓ 1 callersFunctionremoveClassClaim
* Removes the item that makes `className` resolve into this group: a full-class literal, or a literal reached through object entries whose keys prefix
packages/configurator/src/plan.ts:340
↓ 1 callersFunctionreplaceGeneratedSection
* Replaces the content between the generated-section markers in the repo-level README, failing loudly when the markers are missing so a reworked repo
packages/tailwind-merge/scripts/update-readme.mjs:107
↓ 1 callersFunctionreportPruning
One line per generation about pruning, so the behavior and its effect are visible where someone debugging a production-only merge difference would loo
packages/next/src/loader.ts:166
↓ 1 callersFunctionreprune
Source-only changes re-prune the current module for the caller's fresh scan — no loading, no classification — behind any running attempt, like a regen
packages/plugin-core/src/generation-session.ts:49
↓ 1 callersFunctionresolveLinkedPath
* Validates a linked path against the working tree, remapping pre-monorepo root paths into the package directory when the file moved there. Returns nu
scripts/update-pinned-links.mjs:184
↓ 1 callersFunctionresolveMinimumLibraryVersion
* The lowest version a consumer can end up with. pnpm rewrites `workspace:^` / `workspace:~` / `workspace:*` to a range or exact version based on the
scripts/check-library-release.mjs:74
↓ 1 callersFunctionresolveScale
(themeKey: string)
packages/configurator/src/plan.ts:96
↓ 1 callersFunctionresolveSha
* The commit the dev build is published for: the workflow's SHA in CI, HEAD locally. A local publish must run on the pushed commit, otherwise the pinn
scripts/stamp-dev-version.mjs:69
↓ 1 callersFunctionresolveTransitiveUsage
Usage is transitive: a const referenced only from another used const's body still has to be emitted.
packages/configurator/src/emit.ts:248
↓ 1 callersFunctionresolved
(option: TailwindMergeOptions['prune'], lib: unknown, command = 'build')
packages/vite/tests/options.test.ts:197
↓ 1 callersFunctionruntimeAppendix
* Appended to the configurator's emitted module (which exports `getConfig` and `twMerge` and already imports `createTailwindMerge`) so the served modu
packages/plugin-core/src/generation.ts:223
↓ 1 callersFunctionruntimeRealPath
()
packages/next/src/index.ts:136
↓ 1 callersFunctionscaleAlignPrimaryAxis
()
packages/tailwind-merge/src/lib/default-config.ts:111
↓ 1 callersFunctionscaleAlignSecondaryAxis
()
packages/tailwind-merge/src/lib/default-config.ts:124
↓ 1 callersFunctionscaleBgPosition
()
packages/tailwind-merge/src/lib/default-config.ts:172
↓ 1 callersFunctionscaleBgRepeat
()
packages/tailwind-merge/src/lib/default-config.ts:179
↓ 1 callersFunctionscaleBgSize
()
packages/tailwind-merge/src/lib/default-config.ts:180
↓ 1 callersFunctionscaleBlendMode
()
packages/tailwind-merge/src/lib/default-config.ts:204
↓ 1 callersFunctionscaleBlur
()
packages/tailwind-merge/src/lib/default-config.ts:225
↓ 1 callersFunctionscaleBorderWidth
()
packages/tailwind-merge/src/lib/default-config.ts:201
↓ 1 callersFunctionscaleBreak
()
packages/tailwind-merge/src/lib/default-config.ts:68
↓ 1 callersFunctionscaleColor
()
packages/tailwind-merge/src/lib/default-config.ts:171
↓ 1 callersFunctionscaleConstName
`color` → `scaleColor`, `font-weight` → `scaleFontWeight`. The `scale` prefix avoids collisions with destructured validator names.
packages/configurator/src/emit.ts:172
↓ 1 callersFunctionscaleGradientStopPosition
()
packages/tailwind-merge/src/lib/default-config.ts:189
↓ 1 callersFunctionscaleGridAutoColsRows
()
packages/tailwind-merge/src/lib/default-config.ts:109
↓ 1 callersFunctionscaleGridColRowStartAndEnd
()
packages/tailwind-merge/src/lib/default-config.ts:99
↓ 1 callersFunctionscaleGridColRowStartOrEnd
()
packages/tailwind-merge/src/lib/default-config.ts:107
↓ 1 callersFunctionscaleGridTemplateColsRows
()
packages/tailwind-merge/src/lib/default-config.ts:97
↓ 1 callersFunctionscaleInset
()
packages/tailwind-merge/src/lib/default-config.ts:96
↓ 1 callersFunctionscaleLineStyle
()
packages/tailwind-merge/src/lib/default-config.ts:203
↓ 1 callersFunctionscaleMargin
()
packages/tailwind-merge/src/lib/default-config.ts:126
↓ 1 callersFunctionscaleMaskImagePosition
()
packages/tailwind-merge/src/lib/default-config.ts:223
↓ 1 callersFunctionscaleOverflow
()
packages/tailwind-merge/src/lib/default-config.ts:92
↓ 1 callersFunctionscaleOverscroll
()
packages/tailwind-merge/src/lib/default-config.ts:93
↓ 1 callersFunctionscalePositionWithArbitrary
()
packages/tailwind-merge/src/lib/default-config.ts:90
↓ 1 callersFunctionscaleRadius
()
packages/tailwind-merge/src/lib/default-config.ts:191
↓ 1 callersFunctionscaleRotate
()
packages/tailwind-merge/src/lib/default-config.ts:234
↓ 1 callersFunctionscaleScale
()
packages/tailwind-merge/src/lib/default-config.ts:235
↓ 1 callersFunctionscaleSizing
()
packages/tailwind-merge/src/lib/default-config.ts:127
↓ 1 callersFunctionscaleSizingBlock
()
packages/tailwind-merge/src/lib/default-config.ts:157
↓ 1 callersFunctionscaleSizingInline
()
packages/tailwind-merge/src/lib/default-config.ts:143
↓ 1 callersFunctionscaleSkew
()
packages/tailwind-merge/src/lib/default-config.ts:236
↓ 1 callersFunctionscaleTranslate
()
packages/tailwind-merge/src/lib/default-config.ts:237
↓ 1 callersFunctionserializeAll
* Serializes the config body and every candidate's body with the given name map, recording which candidates each output references so usage can be res
packages/configurator/src/emit.ts:182
↓ 1 callersFunctionserializeObjectBody
( value: Extract<PlanValue, { kind: 'object' }>, indent: number, context: SerializeContext, )
packages/configurator/src/emit.ts:401
↓ 1 callersFunctionserializeValue
(value: PlanValue, indent: number, context: SerializeContext)
packages/configurator/src/emit.ts:391
↓ 1 callersFunctionsignal
Signals the whole process group; a group that already ended is not an error.
packages/next/tests/helpers.ts:226
↓ 1 callersFunctionsnapshotTheme
( designSystem: DesignSystemAccess, themeKeys: string[], )
packages/configurator/src/snapshot.ts:24
↓ 1 callersFunctionsortByDependencies
Orders the used consts so that every reference points to an already-declared name, using the exact usage sets recorded during serialization. Containme
packages/configurator/src/emit.ts:268
↓ 1 callersFunctionstartDev
Starts `next dev` on a free port for the fixture copy at `root` and resolves once the index route has rendered.
packages/next/tests/helpers.ts:75
↓ 1 callersFunctionstaticPostfixLookupGroups
Static names can contain slashes too: badge/icon must reach its own group instead of inheriting badge's group. Use the final classifier after aliases
packages/configurator/src/generate.ts:199
↓ 1 callersMethodstop
()
packages/next/tests/helpers.ts:34
↓ 1 callersFunctiontoValue
(mix: ClassNameArray | string)
packages/tailwind-merge/src/lib/tw-join.ts:31
↓ 1 callersFunctiontrackDependency
Observe files, missing targets, and recovery directories before an attempt can fail. The caller registers its watcher immediately or drains the accumu
packages/plugin-core/src/generation-session.ts:120
↓ 1 callersFunctionturbopackRules
One rule per mode: Turbopack evaluates the plugin's config once for `next dev` and `next build` alike, so the mode has to be a rule condition rather t
packages/next/src/index.ts:111
↓ 1 callersFunctionunconditionalCustomProperties
(declarations: DeclarationEntry[])
packages/configurator/tests/oracle.ts:124
↓ 1 callersFunctionunescapeIdentifier
Reverses CSS identifier escaping: `\:` → `:`, `\32 xl` → `2xl`.
packages/configurator/src/declarations.ts:108
↓ 1 callersFunctionupdateReadmes
* Generates the published READMEs from docs/README.md: the package README.md that ships to npm (the whole file) and the generated section between the
packages/tailwind-merge/scripts/update-readme.mjs:19
↓ 1 callersFunctionvanillaGaps
()
packages/configurator/tests/fixture-utils.ts:186
↓ 1 callersFunctionvisit
(nodes: ChildNode[], frame?: BlockFrame)
packages/configurator/src/declarations.ts:39
↓ 1 callersFunctionvisit
(file: string)
packages/configurator/src/resolvers.ts:84
↓ 1 callersFunctionvisitItems
(items: PlanValue[])
packages/configurator/src/emit.ts:104
↓ 1 callersFunctionwarnWithoutCompilerConfig
* Turbopack applies loader rules to code in node_modules only when the project has a `tsconfig.json` or `jsconfig.json` — even an empty one; the conte
packages/next/src/index.ts:95
↓ 1 callersFunctionwatchDependency
* Watch existing dependencies and recovery directories, retaining missing filenames only in the session's graph. Chokidar on Linux watches missing fil
packages/vite/src/index.ts:119
↓ 1 callersFunctionwithPrefix
(list: string)
packages/configurator/tests/custom-modifiers.test.ts:89
↓ 1 callersFunctionwriteAndImportEmittedModule
( code: string, format: 'ts' | 'js', )
packages/configurator/tests/fixture-utils.ts:222
FunctionApp
({ Component, pageProps })
packages/next/tests/fixtures/pages/pages/_app.jsx:3
FunctionClient
()
packages/next/tests/fixtures/app/app/client.jsx:5
FunctionHome
()
packages/next/tests/fixtures/pages/pages/index.jsx:3
FunctionMerged
({ id })
packages/next/tests/fixtures/app/app/merged.jsx:7
FunctionPage
()
packages/next/tests/fixtures/app/app/page.jsx:4
FunctionPage
()
packages/next/tests/fixtures/no-tailwind/app/page.jsx:3
FunctionRootLayout
({ children })
packages/next/tests/fixtures/app/app/layout.jsx:3
← previousnext →301–400 of 489, ranked by callers