@bunup/dts 0.14.45 → 0.14.46
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.js +5 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -671,13 +671,15 @@ async function runTypescriptCompiler(root, tsgo, tsconfig) {
|
|
|
671
671
|
"--emitDeclarationOnly",
|
|
672
672
|
"--isolatedDeclarations",
|
|
673
673
|
"false",
|
|
674
|
+
"--rootDir",
|
|
675
|
+
root,
|
|
674
676
|
...tsconfig ? ["-p", tsconfig] : [],
|
|
675
677
|
"--outDir",
|
|
676
678
|
dist,
|
|
677
|
-
"--rootDir",
|
|
678
|
-
root,
|
|
679
679
|
"--noCheck"
|
|
680
|
-
]
|
|
680
|
+
], {
|
|
681
|
+
cwd: root
|
|
682
|
+
});
|
|
681
683
|
const exitCode = await proc.exited;
|
|
682
684
|
if (exitCode !== 0) {
|
|
683
685
|
const stderr = await new Response(proc.stdout).text();
|