entry.js 413 B

123456789101112131415
  1. // RE: substack/node-browserify#713
  2. // https://github.com/substack/node-browserify/pull/713 breaks resolving
  3. // an identical module multiple time from different locations when the
  4. // module has a circular require.
  5. // other than path, mod1 and mod2 are identical
  6. require('./mod1/a')
  7. require('./mod2/a')
  8. // browserify entry.js
  9. // works in 3.37.2
  10. // >= 3.38 throws RangeError: Maximum call stack size exceeded