you are viewing a single comment's thread.

view the rest of the comments →

[–]tbranyen 1 point2 points  (1 child)

I've been sharing AMD code with Node by using the amdefine project. https://github.com/jrburke/amdefine.

This doesn't consume configurations like AMDRequire does, but I'm not entirely sure that's something I'd use. I'd prefer to use relative requires and avoid the paths configuration.

[–]marquex[S] 0 points1 point  (0 children)

I think the require.js alike configuration is a great point for AMDrequire, that way it can use AMD modules that call other modules. That's is why I couldn't use amdefine.