Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A node builtins extension #29

Open
KidkArolis opened this issue Jun 2, 2014 · 1 comment
Open

A node builtins extension #29

KidkArolis opened this issue Jun 2, 2014 · 1 comment

Comments

@KidkArolis
Copy link
Contributor

Would be cool to be able to do smth like

npm install --save rave-load-node-builtins

which then enables require("path"), require("url"), etc.

This looks like the list of those packages, need to double check that's the one browserify is using. https://www.npmjs.org/package/browser-builtins

@unscriptable
Copy link
Contributor

👍

Anybody feel like creating this extension? I'd gladly assist.

FYI, it doesn't look as simple as I initially hoped since the browser-builtins package doesn't actually shim "fs" and "path": https://github.com/alexgorbatchev/node-browser-builtins/blob/master/builtin/fs.js

Hopefully, there's another browser shim for those somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants