require-polyfill icon indicating copy to clipboard operation
require-polyfill copied to clipboard

Make `require` work in browsers, at runtime. No code bundling needed!

Results 4 require-polyfill issues
Sort by recently updated
recently updated
newest added

Add support for loading .json resources - 2 minor line changes

hi, chenglou, nice work! but there is a problem when using sync Ajax ![image](https://user-images.githubusercontent.com/17307578/51786200-202dd480-219c-11e9-89ae-f6e1c2800653.png) ![image](https://user-images.githubusercontent.com/17307578/51786205-3b004900-219c-11e9-81bc-84cde90e77e4.png)

Seems there is a different package available via NPM with the name "require-polyfill". This is confusing and makes normal package management with this package impossible... Would it not be better...

We can search the fs the way node does. https://github.com/substack/node-resolve/blob/master/lib/sync.js