Bug Tracker

Opened 7 years ago

Closed 7 years ago

#14336 closed bug (notabug)

Source map "file" and "sources" naming issue.

Reported by: joe@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

Description

  • jQuery Version: 1.10.2
  • Browser: Chrome 29.0.1547.65
  • OS: OS X

I use bower to manage my dependencies. When I install jQuery with bower and use the minified file, and an error happens in jQuery because of external code, it tries to load the source map for debugging. However, the file and sources properties point to versioned names of the jQuery files (e.g. jquery-1.10.2.js or jquery-1.10.2-min.js). Since those files don't exist, Chrome stops trying to debug and shows the 404 for the missing file.

I would expect the file and sources properties to not include the version number in the file name.

Change History (1)

comment:1 Changed 7 years ago by timmywil

Resolution: notabug
Status: newclosed

First of all, the current bower repo is not controlled by jQuery. This will eventually change.

Secondly, we do not build jquery with version numbers, so that will change too. Closing as this will get fixed automatically when we register with bower.

Note: See TracTickets for help on using tickets.