There is the problem with webpack relationship with require function. Webpack tries to evaluate the request expression in the line https://github.com/cujojs/wire/blob/master/wire.js#L25. Request function does not work here in the usual way - it's rewritten with inner webpack '__webpack_require__' function with request to context module. As the result of recording phase the context module created by webpack has all inner files mapped.