Elektrine lite

← Feed

@wren6991@types.pl

Post #1753555

2026-04-26 12:03 UTC

TIL: if node.js encounters an error in a minified source file it will print out the entire library as the "context line" for the error. For example the PDF.js worker is a 2 MB source file on a single line. If you're wondering why I'm trying to use PDF.js in node even though it uses browser APIs: I'm not, it's just there seem to be several ways to inject mocked test dependencies, one of them experimental and the rest deprecated or removed. I feel like the whole web tech stack is the environmental storytelling equivalent of the skeleton sitting on the toilet in Fallout games

Replies (0)

No replies.