Commit b67882c
refactor(plugin-seo): rename non-JSX files from .tsx to .ts (#14418)
### What?
Renamed three non-JSX source files in `@payloadcms/plugin-seo` from
`.tsx` to `.ts` extension and updated `package.json` accordingly.
### Why?
These files don't contain any JSX syntax, they only export TypeScript
functions and type definitions. Using the `.tsx` extension was incorrect
and inconsistent with all other Payload plugins, which use `.ts` for
their main entry points.
### How?
- Simple file renames with zero code changes
- Updated package.json exports to reference `./src/index.ts` instead of
`./src/index.tsx`
Co-authored-by: Paul Popus <paul@payloadcms.com>1 parent ebbd6ad commit b67882c
4 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments