I\'m using requireJS to load scripts. It has this detail in the docs:
The path that is used for a module name should not include the .js extension,
If you don't feel like adding a dependency on noext, you can also just append a dummy query string to the path to prevent the .js extension from being appended, as in:
require.config({ paths: { 'signalr-hubs': '/signalr/hubs?noext' } });
This is what the noext plugin does.