× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

How to debug requireJS module defined path/file

Nitin Surana
Apr 26, 2015
<pre><code>requirejs.s.contexts._.config.paths </code></pre> <p>This will return all paths defined in requirejs. If there are multiple <code>.config</code> calls, it seems to contain all with no duplicates.</p> <p>This tip was originally posted on <a href="http://stackoverflow.com/questions/24462403/How%20to%20debug%20requireJS%20module%20defined%20path/file/24545998">Stack Overflow</a>.</p>

Get New Tutorials Delivered to Your Inbox

New tutorials will be sent to your Inbox once a week.

comments powered by Disqus