vite-plugin-dts 3.5.1 → 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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -679,7 +679,7 @@ ${logPrefix} ${kolorist.yellow(
|
|
|
679
679
|
} else {
|
|
680
680
|
const sourceFile = program.getSourceFile(id);
|
|
681
681
|
if (sourceFile) {
|
|
682
|
-
for (const outputFile of service.getEmitOutput(sourceFile.fileName, true
|
|
682
|
+
for (const outputFile of service.getEmitOutput(sourceFile.fileName, true).outputFiles) {
|
|
683
683
|
outputFiles.set(
|
|
684
684
|
resolve(publicRoot, node_path.relative(outDir, ensureAbsolute(outputFile.name, outDir))),
|
|
685
685
|
outputFile.text
|
package/dist/index.mjs
CHANGED
|
@@ -679,7 +679,7 @@ ${logPrefix} ${yellow(
|
|
|
679
679
|
} else {
|
|
680
680
|
const sourceFile = program.getSourceFile(id);
|
|
681
681
|
if (sourceFile) {
|
|
682
|
-
for (const outputFile of service.getEmitOutput(sourceFile.fileName, true
|
|
682
|
+
for (const outputFile of service.getEmitOutput(sourceFile.fileName, true).outputFiles) {
|
|
683
683
|
outputFiles.set(
|
|
684
684
|
resolve(publicRoot, relative(outDir, ensureAbsolute(outputFile.name, outDir))),
|
|
685
685
|
outputFile.text
|