Post B5hlON0OAtStLb1Cgy by wren6991@types.pl
 (DIR) More posts by wren6991@types.pl
 (DIR) Post #B5hlON0OAtStLb1Cgy by wren6991@types.pl
       0 likes, 1 repeats
       
       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