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
Fixed a bug about excluded paths as reported in #112. Added more description for option baseDir in README.md so that readers can understand the phase "relative to baseDir" in exclude description. (#113)
*`baseDir?: string`: The base directory for the package being bundled. Any dependencies discovered outside this
73
-
directory will be excluded from the bundle. *Note* this is no longer the preferred way to configure `dts-generator`, please see `project`.
73
+
directory will be excluded from the bundle. *Note* this is no longer the preferred way to configure `dts-generator`,
74
+
it automatically gets its value from compiler option `rootDir` if specified in `tsconfig.json`, otherwise it gets value from `project`. Please see option `project`.
74
75
*`exclude?: string[]`: A list of glob patterns, relative to `baseDir`, that should be excluded from the bundle. Use
75
76
the `--exclude` flag one or more times on the command-line. Defaults to `[ "node_modules/**/*.d.ts" ]`.
76
77
*`externs?: string[]`: A list of external module reference paths that should be inserted as reference comments. Use
0 commit comments