jriecken / dependency-graph

A simple dependency graph for Node.js
http://jriecken.github.io/dependency-graph/
MIT License
333 stars 49 forks source link

Browser version? #17

Closed Rex90 closed 7 years ago

Rex90 commented 7 years ago

Is there a version of this I can use for webapps in the browser?

jriecken commented 7 years ago

Not directly, but there are many bundlers out there that allow you to use JS modules in the browser - Browserify, Webpack, etc. I would suggest using one of those.

Rex90 commented 7 years ago

I tried to use browserfy before posting the question but it wouldn't work until I renamed "exports" to "window" in the source

On 7 Feb 2017, at 17:01, Jim Riecken notifications@github.com<mailto:notifications@github.com> wrote:

Closed #17https://github.com/jriecken/dependency-graph/issues/17.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jriecken/dependency-graph/issues/17#event-952425560, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFwGazEWQtHEoSl1Bo1mXdPyVln3FBcnks5raKMSgaJpZM4L5tFw.