-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I have trouble using this library with Browserify. Whenever I do require('preq'), the browserified bundle stops working. That is, Browserify succeeds in creating a bundle; but the bundle doesn't work. When the bundle file is included in a web page, nothing happens.
The command I use to create a bundle is:
browserify index.js -o bundle.js
where index.js is a file that requires preq, and bundle.js is the resulting file to include in a web page's <script> tag.
Note that the request library, which preq builds upon, is browserifiable. request seamlessly invokes XMLHttpRequest when run in the browser.
Metadata
Metadata
Assignees
Labels
No labels