cujojs / wire

A light, fast, flexible Javascript IOC container
Other
862 stars 71 forks source link

wirejs and dojo using the dojo build system seems impossible #168

Open jandppw opened 9 years ago

jandppw commented 9 years ago

Looking for an IoC library, I found wire, and I tried it in our big dojo project. I got the things working I needed in development (unbuild) mode. Cool!

The application must be build however, but I can't get that to work.

I found a question regarding this on StackOverflow: http://stackoverflow.com/questions/27024573/wirejs-and-dojo-using-the-dojo-build-system

The crux is that the dojo loader throws an undefinedModule Error for "./lib/context" in wire.

I decided to tackle this, but cannot get it resolved. My entire meanderings are now a "question" on StackOverflow: http://stackoverflow.com/questions/28602183/wirejs-and-dojo-using-the-dojo-build-system-2

Please see there for details, and all the things I have tried.

Is this a basic incompatibility? Are we doing something wrong? Or is there some bug in wire?