Skip to content

Commit b8d289b

Browse files
boazpoolmanclaude
andcommitted
chore: add changeset for custom export type declaration fix
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 08e7f57 commit b8d289b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@strapi/sdk-plugin': patch
3+
---
4+
5+
fix type declarations not being generated for custom exports
6+
7+
Previously, only `./strapi-admin` and `./strapi-server` exports would produce `.d.ts` files when a `types` field was defined in `package.json`. Custom exports silently skipped type generation because no per-bundle tsconfig existed for them.
8+
9+
The build now falls back to the project root `tsconfig.build.json` or `tsconfig.json` when no per-bundle tsconfig is found, so any export with a `types` field will correctly emit type declarations.

0 commit comments

Comments
 (0)