NET-Web-API-w-Angular/my-app/node_modules/terser/tools/exit.cjs

8 lines
249 B
JavaScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
// workaround for tty output truncation upon process.exit()
// https://github.com/nodejs/node/issues/6456
[process.stdout, process.stderr].forEach((s) => {
s && s.isTTY && s._handle && s._handle.setBlocking &&
s._handle.setBlocking(true)
});