Skip to content

Commit 2bd53d5

Browse files
committed
fix: print the outputs of the minijson
1 parent 70ab306 commit 2bd53d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/node/lib.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ export async function minifyFiles(files: readonly string[], hasComment = true):
3535
export function spawnMinijson(args: string[]): Promise<string> {
3636
return new Promise<string>((resolve, reject) => {
3737
execFile(minijsonBin, args, (err, stdout, stderr) => {
38+
console.error(stderr)
39+
console.log(stdout)
40+
3841
if (err) {
3942
reject(err)
4043
}

0 commit comments

Comments
 (0)