Created
July 4, 2014 04:33
-
-
Save abhilash0001/670b9d1836b72e82fbcb to your computer and use it in GitHub Desktop.
404: Unable to load angular.min.js.map or angular-animate.min.js.map resource
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source map files basically turn minified code into its unminified version for debugging. | |
You can find the .map files here (https://code.angularjs.org/1.2.12/). Just add them into the same directory as the minified js files and it'll stop complaining. The reason they get fetched is the | |
/* | |
//@ sourceMappingURL=angular.min.js.map | |
*/ | |
at the end of angular.min.js. If you don't want to add the .map files you can remove those lines and it'll stop the fetch attempt, but if you plan on debugging it's always good to keep the source maps linked. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment