And I clude that module early in my application, it works fine. When I then also include the module by name foo rather than path path/to/foo, it doesn't work.
Error: ENOENT: no such file or directory
It works fine when I don't build my project and let RequireJS do its thing in the browser.
When I include a module that is defined like so:
And I clude that module early in my application, it works fine. When I then also include the module by name
foo
rather than pathpath/to/foo
, it doesn't work.It works fine when I don't build my project and let RequireJS do its thing in the browser.