Commit 3e6d08e
committed
fix(devframe): keep whenexpr types external in dts bundling
Bundling whenexpr's declaration file into the combined dts build made
rolldown's dts bundler choke on its mixed type/value named export list
(export { type WhenExpression, evaluateWhen, ... }) — it dropped the
type modifier off the re-exported WhenExpression alias and then failed
to resolve it as a value export, breaking devframe's build (and every
downstream CI job that depends on it).
whenexpr's runtime code still gets inlined via onlyBundle; only its
.d.ts is now left external via the new deps.dts.neverBundle override,
so tsdown resolves WhenExpression straight from the published
package's types instead of re-bundling them.1 parent a475109 commit 3e6d08e
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
26 | 37 | | |
27 | 38 | | |
28 | 39 | | |
| |||
0 commit comments