Skip to content

Interface: Options

Options for the dts_complex Vite plugin.

Properties

PropertyTypeDescription
bundledDependencies?(string | RegExp)[]An array of package names or regular expressions representing dependencies that should be bundled into the generated declaration files.
debug?booleanActivate additional debug output information
nodeModulesPath?stringThe path to the node_modules directory. Defaults to the project's root node_modules directory. Can be an absolute path or a path relative to the project root.
packageJsonPath?stringThe path to the package.json file. Can be an absolute path or a path relative to the project root.
preRolledDependencies?(string | RegExp)[]An array of package names or regular expressions representing dependencies that should be bundled into the generated declaration files, but which do not need to be rolled up into a single declaration file. If the dependency is not already included in bundledDependencies, it will be treated as if it were.
traceResolution?booleanTrace Typescript Resolution
tsConfigJsonPath?stringThe path to the tsconfig.json file to use for generating declaration files. Defaults to the project's root tsconfig.json. Can be an absolute path or a path relative to the project root.