Commit 01963df
feat(sdk): export internal types from public index for bundler resolution [SPA-4097] (#1596)
* feat(sdk): export internal types from public index for bundler resolution
These types were previously only reachable via internal dist/ paths
(e.g. @contentful/live-preview/dist/types), which worked under
moduleResolution:node but fails under moduleResolution:bundler (Angular
v21 default) because unlisted exports map entries are rejected.
Exports added: Argument, SubscribeCallback, InspectorModeDataAttributes,
InspectorModeEntryTags, InspectorModeTags.
Adding them to the public index entry is additive and non-breaking.
Co-Authored-By: Claude Opus 4.7 <[email protected]>
* chore(sdk): revert test additions for type-only exports
Co-Authored-By: Claude Opus 4.7 <[email protected]>
---------
Co-authored-by: Claude Opus 4.7 <[email protected]>1 parent 3c7e7c9 commit 01963df
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
0 commit comments