Skip to content

Commit 9c2924c

Browse files
author
Tajudeen
committed
Fix ternary-stream and node:fs imports, complete build fixes
- Fixed ternary-stream import in util.js - Fixed node:fs/node:path imports in typeScriptLanguageServiceHost.js - Fixed path_1 reference in tsb/index.js Build now completes successfully locally. All Node.js built-in module imports and third-party module imports are now correctly handled.
1 parent 77de60c commit 9c2924c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/lib/typeScriptLanguageServiceHost.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/lib/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function $if(test, onTrue, onFalse = event_stream_1.through()) {
212212
if (typeof test === 'boolean') {
213213
return test ? onTrue : onFalse;
214214
}
215-
return (0, ternary_stream_1.default)(test, onTrue, onFalse);
215+
return (0, ternary_stream_1)(test, onTrue, onFalse);
216216
}
217217
/** Operator that appends the js files' original path a sourceURL, so debug locations map */
218218
function appendOwnPathSourceURL() {

0 commit comments

Comments
 (0)