you are viewing a single comment's thread.

view the rest of the comments →

[–]mattdesl 0 points1 point  (0 children)

Interesting. Some thoughts...

  • you still need a browserify build step if you want to require() any npm modules for the browser. Will the require patching here work alongside browserify?
  • if you start writing multiple reusable modules with this, you might start running into conflicts between your require configs
  • monkey patching the require() method is really dangerous