There's a simple `createRequire` shim on npm: https://npm.im/create-require We can use this instead of our own which was copy-pasted out of node's source code.