Skip to content

Commit 0a9adaf

Browse files
authored
chore: remove useless log (#2784)
1 parent 6ab4819 commit 0a9adaf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.changeset/orange-carrots-fry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/dts-plugin': patch
3+
---
4+
5+
chore: remove useless log

packages/dts-plugin/src/core/lib/typeScriptCompiler.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ensureDirSync, writeFileSync, existsSync } from 'fs-extra';
22
import crypto from 'crypto';
33
import { stat, readdir, writeFile, rm, readFile } from 'fs/promises';
4-
import { randomUUID } from 'crypto';
54
import {
65
dirname,
76
join,
@@ -19,7 +18,6 @@ import { TEMP_DIR } from '@module-federation/sdk';
1918

2019
import { RemoteOptions } from '../interfaces/RemoteOptions';
2120
import { TsConfigJson } from '../interfaces/TsConfigJson';
22-
import { isDebugMode } from './utils';
2321

2422
const STARTS_WITH_SLASH = /^\//;
2523

@@ -216,9 +214,6 @@ export const compileTs = async (
216214

217215
await rm(tempTsConfigJsonPath);
218216
} catch (err) {
219-
if (isDebugMode()) {
220-
console.log('tsconfig: ', JSON.stringify(tsConfig, null, 2));
221-
}
222217
throw err;
223218
}
224219
};

0 commit comments

Comments
 (0)