mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Add support for the import map in the type generator
The typescript compiler is now configured to know about the import map to be able to resolve those imports and find the associated types. As tsc outputs declaration files using the original module identifiers and not the resolved ones, tsc-alias is used to post-process the declaration files by resolving those paths.
This commit is contained in:
parent
bbf11a5783
commit
d0f14b1ce3
4 changed files with 273 additions and 2 deletions
|
@ -50,6 +50,7 @@
|
|||
"stylelint-prettier": "^4.0.2",
|
||||
"terser": "^5.19.2",
|
||||
"through2": "^4.0.2",
|
||||
"tsc-alias": "^1.8.7",
|
||||
"ttest": "^4.0.0",
|
||||
"typescript": "^5.1.6",
|
||||
"typogr": "^0.6.8",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue