Fix non-deterministic variant sorting #4426
Annotations
2 errors
src/index.test.ts > processing without specifying a base path > the current working directory is used by default:
packages/tailwindcss/src/variants.ts#L247
TypeError: Cannot read properties of null (reading 'kind')
❯ Variants.compare ../tailwindcss/src/variants.ts:247:16
❯ ../tailwindcss/src/design-system.ts:99:45
❯ Object.getVariantOrder ../tailwindcss/src/design-system.ts:99:16
❯ Module.compileCandidates ../tailwindcss/src/compile.ts:48:38
❯ Object.build ../tailwindcss/src/index.ts:534:24
❯ OnceExit src/index.ts:193:34
❯ LazyResult.runAsync ../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/lazy-result.js:298:15
❯ src/index.test.ts:119:18
|
tests (20, namespace-profile-default, false)
Process completed with exit code 1.
|