Extracting the Export Meat

We start our implementation of require() with the simplest possible case: one module dependency. We figure out how to extract its exports into a namespaced global, then hardcode require() to use it. It’s an important first step, and we get it to work. We now have a real CommonJS module dependency working.

  1. LL15Large-Scale JavaScript Fundamentals

    Fri, 6 Sep ’13
  2. E110Into the Sausage Factory

    Wed, 26 June ’13
  3. E111The Module Casing

    Mon, 1 July ’13
  4. E112Twisting the Ends

    Wed, 3 July ’13
  5. E113Extracting the Export Meat

    Mon, 8 July ’13
  6. E114Labelling the Vat

    Wed, 10 July ’13
  7. E115Superdog

    Mon, 15 July ’13
  8. E116Links

    Wed, 17 July ’13
  9. E117Make Me One with Everything

    Mon, 22 July ’13
  10. E118Binding Agent

    Wed, 24 July ’13
  11. E119All Beef

    Mon, 29 July ’13
  12. E120Prepare the Next Batch

    Wed, 31 July ’13