Skip to content

Commit 43a981c

Browse files
committed
debug
1 parent f6be910 commit 43a981c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/commands/build.ts

+13
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,19 @@ async function buildTypeScript(
8383
);
8484
}
8585

86+
if (Math.random()) {
87+
throw JSON.stringify(
88+
{
89+
tsconfig,
90+
moduleResolution,
91+
isModernNodeModuleResolution,
92+
isOldNodeModuleResolution,
93+
},
94+
null,
95+
' ',
96+
);
97+
}
98+
8699
async function build(out: PackageJsonType) {
87100
const revertPackageJsonsType = await setPackageJsonsType(
88101
{ cwd: options.cwd, ignore: [...filesToExcludeFromDist, ...(tsconfig?.exclude || [])] },

0 commit comments

Comments
 (0)