GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Hi, I am using text in a module that is executed on both browser and Node.js environments and I found this issue while running some negative tests.
Fixes unhandled exception while reading nonexistent file on Node.js
Using readFile instead of readFileSync.
Fixed, but did it with the sync APIs, because the plugins need to run in sync mode for the build. Part of just released 2.0.7 version of text.js.