vite-plugin-dts 3.5.0 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -593,7 +593,8 @@ ${logPrefix} ${kolorist.yellow(
593
593
  ...content?.options || {},
594
594
  ...options.compilerOptions || {},
595
595
  ...fixedCompilerOptions,
596
- outDir: "."
596
+ outDir: ".",
597
+ declarationDir: "."
597
598
  };
598
599
  rawCompilerOptions = content?.raw.compilerOptions || {};
599
600
  if (!outDirs) {
@@ -678,7 +679,7 @@ ${logPrefix} ${kolorist.yellow(
678
679
  } else {
679
680
  const sourceFile = program.getSourceFile(id);
680
681
  if (sourceFile) {
681
- for (const outputFile of service.getEmitOutput(sourceFile.fileName, true, true).outputFiles) {
682
+ for (const outputFile of service.getEmitOutput(sourceFile.fileName, true).outputFiles) {
682
683
  outputFiles.set(
683
684
  resolve(publicRoot, node_path.relative(outDir, ensureAbsolute(outputFile.name, outDir))),
684
685
  outputFile.text
package/dist/index.mjs CHANGED
@@ -593,7 +593,8 @@ ${logPrefix} ${yellow(
593
593
  ...content?.options || {},
594
594
  ...options.compilerOptions || {},
595
595
  ...fixedCompilerOptions,
596
- outDir: "."
596
+ outDir: ".",
597
+ declarationDir: "."
597
598
  };
598
599
  rawCompilerOptions = content?.raw.compilerOptions || {};
599
600
  if (!outDirs) {
@@ -678,7 +679,7 @@ ${logPrefix} ${yellow(
678
679
  } else {
679
680
  const sourceFile = program.getSourceFile(id);
680
681
  if (sourceFile) {
681
- for (const outputFile of service.getEmitOutput(sourceFile.fileName, true, true).outputFiles) {
682
+ for (const outputFile of service.getEmitOutput(sourceFile.fileName, true).outputFiles) {
682
683
  outputFiles.set(
683
684
  resolve(publicRoot, relative(outDir, ensureAbsolute(outputFile.name, outDir))),
684
685
  outputFile.text
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-dts",
3
- "version": "3.5.0",
3
+ "version": "3.5.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "qmhc",