Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Make work in a browser (remove fs and vm dependencies) #12

Open
justinbmeyer opened this issue Dec 21, 2014 · 2 comments
Open

Make work in a browser (remove fs and vm dependencies) #12

justinbmeyer opened this issue Dec 21, 2014 · 2 comments

Comments

@justinbmeyer
Copy link

Would it be possible to make js-module-formats work in the browser? It would have to remove the fs and vm dependency. It doesn't seem like fs is needed or used, and I'm being lazy right now and not tracking down why vm is needed.

I'd like to make https://github.com/bitovi/transpile able to load in the browser with SystemJS. Let me know what you think. Thanks!

@justinbmeyer
Copy link
Author

Alright, I un-lazied myself and read the code. I suppose eval in an iframe could be used in a browser so there is no side effects of running the code.

@caridy
Copy link
Collaborator

caridy commented Dec 21, 2014

yeah, I have a psuedo-realm polyfill, I can try that.

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

No branches or pull requests

2 participants