Opened 9 years ago
Closed 9 years ago
#14795 closed bug (worksforme)
sourceMappingURL incorrect when jQuery is installed via Bower
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have a Bower package that lists jquery 1.10.1 as a dependency.
{ "name": "my-package", "version": "0.0.1", "main": "dist", "dependencies": { "jquery": "1.10.1", "font-awesome": "4.0.3" }, "devDependencies": { "qunit-git": "" } }
When my package is pulled down into my project:
bower install mypackage.git
the following jQuery JavaScripts are downloaded:
- jquery.js:
- jquery.min.js:
- jquery-migrate.js
- jquery-migrate.min.js
jquery.min.js contains this comment:
/*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.1.min.map */
As jquery-1.10.1.min.map is not part of the Bower package this results in a 404 error.
Thanks,
Dan
Note: See
TracTickets for help on using
tickets.
This is not an issue with 1.11.0 or 2.1.0.