Labelling the Vat

Our CommonJS bridge works, but it only supports a single, hard-coded module. In this episode, we update our implementation of require() to load dependencies by name. We store modules into an object (keyed by full path) and write some bare-bones path normalization code.

comments powered by Disqus