Commit 43928f1
committed
fix(ng_package): correct d.ts chunk file extension
When generating d.ts files with rollup, if a chunk name already contained `.d`, the output file would have a `.d.d.ts` extension.
This change adjusts the output chunk file extension to `.ts` when in dts mode, preventing the double extension issue.1 parent a84c272 commit 43928f1
2 files changed
Lines changed: 3 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
200 | 198 | | |
201 | 199 | | |
202 | 200 | | |
| |||
217 | 215 | | |
218 | 216 | | |
219 | 217 | | |
220 | | - | |
221 | | - | |
| 218 | + | |
| 219 | + | |
222 | 220 | | |
223 | 221 | | |
224 | 222 | | |
| |||
0 commit comments