Closed jonathanong closed 10 years ago
would also not work with npm shrinkwrap
and probably other features, so it could be weird
I'd really appreciate this enhancement. Please let me know if I can help test.
Re: link
and shrinkwrap
, I'd personally be okay with those caveats.
-1 from me, especially since browser stuff will be quite different from node in the near future, probably not worth going down the road of mixing the two, especially before we have something nice and robust for the browser
kind of related: https://github.com/component/component/issues/60
Closing because none of this shit should be necessary with es6 modules
i was thinking of creating a
component.require()
that allows you to require components fromcomponents/
instead ofnode_modules
. would you guys be down for that? only issue i can think of right now is that it won't work acrossnpm link
s.i.e.
var emitter = component.require('emitter')