-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine data piping to PassThrough for stream and optimize highWaterMa…
…rk for client streams #47
- Loading branch information
Showing
3 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1 @@ | ||
// import { dirname } from 'path'; | ||
// import { fileURLToPath } from 'url'; | ||
|
||
// // TODO To start the server with ts-node (ts-node-esm, we have to use the import.meta.url) | ||
// // For webpack we have to use __dirname, else the path is bundled into the server.js file. | ||
// // For esbuild we have to define the format to esm with other problems. | ||
// export const curDirName = dirname(fileURLToPath(import.meta.url)); | ||
|
||
export const curDirName = __dirname; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters