Skip to main content

Bug Tracker

Side navigation

#14795 closed bug (worksforme)

Opened February 14, 2014 01:44AM UTC

Closed February 18, 2014 04:44PM UTC

sourceMappingURL incorrect when jQuery is installed via Bower

Reported by: dan.smith.nz@gmail.com 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:

1. jquery.js:

2. jquery.min.js:

3. jquery-migrate.js

4. 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

Attachments (0)
Change History (1)

Changed February 18, 2014 04:44PM UTC by timmywil comment:1

resolution: → worksforme
status: newclosed

This is not an issue with 1.11.0 or 2.1.0.