# resolveSharedTailwindEntry

`function` in `eslint-config` · v1.5.0-next.4

<https://docs.seedcord.org/packages/eslint-config/1.5.0-next.4/functions/resolve-shared-tailwind-entry>

Resolves a Tailwind entry CSS path for a package that does not ship its own `globals.css`, so the canonical-class rules can borrow a sibling app's entry.

```ts
resolveSharedTailwindEntry(
    packageRoot: string,
    candidates: string[]
): string | undefined
```

Resolves a Tailwind entry CSS path for a package that does not ship its own `globals.css`, so the canonical-class rules can borrow a sibling app's entry.

Parameters.

- `packageRoot` `string` — Absolute path to the consuming package's root (typically `import.meta.dirname`).
- `candidates` `string[]` — Relative paths tried in order, first existing wins.

Returns `string | undefined`.
