npm vite-tsconfig-paths 6.0.0-beta.1

latest releases: 6.0.0-beta.4, 6.0.0-beta.3, 6.0.0-beta.2...
6 months ago
  • Added a new projectDiscovery option.

    When this option is set to "lazy", tsconfig files will be loaded on-demand. When an import is resolved, the parent directories of the importer are searched for tsconfig files matching the configNames array option (which defaults to ["tsconfig.json", "jsconfig.json"]).

    If using TypeScript’s project references, you can ensure they are discovered by adding the main project to the projects array option of this plugin. Though, this is only necessary if you’re referencing tsconfig files with non-standard names (e.g. "tsconfig.src.json"). Setting the projects option will not interfere with lazy project discovery.

Don't miss a new vite-tsconfig-paths release

NewReleases is sending notifications on new releases.