You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Customized TSConfig that uses `tsconfig.lib.json` as base with some required overrides:
49
73
*
50
74
* NOTES:
51
75
* - `extends` is properly resolved via api-extractor which uses TS api
52
76
* - `skipLibCheck` needs to be explicitly set to `false` so errors propagate to api-extractor
53
-
* - `paths` is set to `undefined` so api-extractor won't use source files rather rollup-ed declaration files only
77
+
* - `paths` is overriden to path mapping that points to generated declaration files. This also enables creation of dts rollup without a need of generating rollups for all dependencies 🫡
54
78
*
55
79
*/
56
80
constapiExtractorTsConfig: TsConfig={
@@ -71,7 +95,8 @@ export function getTsPathAliasesApiExtractorConfig(options: {
71
95
/**
72
96
* just-scripts provides invalid types for tsconfig, thus `paths` cannot be set to dictionary,nor null or `{}`
0 commit comments