- Warn if the "regular" PDF.js build is used in Node.js environments, since that won't load any of the relevant polyfills. - Warn if the `require` function cannot be accessed, since currently we're just "swallowing" any errors.
- Warn if the "regular" PDF.js build is used in Node.js environments, since that won't load any of the relevant polyfills. - Warn if the `require` function cannot be accessed, since currently we're just "swallowing" any errors.