You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes! This is actually requirejs/r.js#245 -- the internal require calls are getting renamed incorrectly. You can avoid the error for now by using the define(['dep'], function (dep) {}) form, but really the problem should be fixed. Unfortunately, it requires switching over to a full AST parser for that part of the code mod. I do AST transforms in other bits, but this one has been harder to get started on because it is more involved -- I have already pushed it off for a few releases.
But I will use the r.js bug to track the issue and close this one.
Hello @jrburke. Thanks for making almond. I just used it to make a requirejs-less build of:
http://gobengo.github.com/streamhub-backbone/
I may have discovered a bug though. If my build uses the 'namespace: "MYNS"' build config and I try to do this:
, then the build finishes fine, but when I run the app I see:
I made a repo that shows that this works without the namespace setting:
gobengo/almond-namespace-bug@bcfeec6
But not with it:
gobengo/almond-namespace-bug@f8ae11f
Any ideas? Thank you!
The text was updated successfully, but these errors were encountered: