You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove legacy public option type aliases from the v9 alpha line and keep only the modern option names such as `TailwindCssPatchOptions`, `TailwindCssOptions`, `TailwindV2V3Options`, and `TailwindV4Options`.
Copy file name to clipboardExpand all lines: packages/tailwindcss-patch/README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,25 @@ Skip `next()` to fully replace a command (e.g. custom `init` or cache clearing b
117
117
118
118
The CLI loads `tailwindcss-patch.config.ts` via `@tailwindcss-mangle/config`. v9 expects the modern `registry` shape; use `tw-patch migrate` before upgrading if your config still uses deprecated keys.
119
119
120
+
### Public Type Names
121
+
122
+
The current alpha exports the modern option type names only:
123
+
124
+
```ts
125
+
importtype {
126
+
ApplyOptions,
127
+
CacheOptions,
128
+
ExtractOptions,
129
+
TailwindCssOptions,
130
+
TailwindCssPatchOptions,
131
+
TailwindV2V3Options,
132
+
TailwindV4Options,
133
+
NormalizedTailwindCssPatchOptions,
134
+
} from'tailwindcss-patch'
135
+
```
136
+
137
+
Older aliases such as `TailwindcssPatchOptions`, `TailwindLocatorOptions`, and `TailwindTargetOptions` are intentionally removed in the alpha line.
138
+
120
139
### v9 upgrade flow
121
140
122
141
1. Run `pnpm dlx tw-patch migrate --dry-run` to preview required config rewrites.
0 commit comments