Closed bmcmahen closed 10 years ago
i'm pretty sure it works because i'm using it right now.
can you give me a small test case?
I think it has something to do with the bundler, actually. I'm going to try to figure out things today, and if I can't, a small test-case will come your way
Yeah, so it turns out that raf
is being included with boot.js
(which is good), but even though the boot script is running, it's still not able to require it. hrm.
Figured it out. I was including the require
code multiple times for each bundle, which in turn was overwriting the require
object of the previous bundle.
It looks like components without
main
in theircomponent.json
don't work. See for example,component/raf
, which gives me the following error:Uncaught Error: failed to require "component~raf@1.1.3"