I got it! Prepend the webpack boilerplate with module.exports = webpack returns the entry point's exports, so assigning it to module.exports seems to work well.