Ticket #12886 (closed feature: fixed)
Add source map support for build
| Reported by: | dmethvin | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.9 |
| Component: | build | Version: | 1.8.2 |
| Keywords: | Cc: | paul.irish | |
| Blocking: | Blocked by: |
Description
Create source map during the build process to make debugging the .min versions easire. Need Uglify2 for that.
Change History
comment:1 Changed 6 months ago by dmethvin
- Priority changed from undecided to low
- Status changed from new to open
- Component changed from unfiled to build
- Milestone changed from None to 1.9
comment:4 Changed 5 months ago by dmethvin
- Status changed from open to closed
- Resolution set to fixed
- Milestone changed from 2.0 to 1.9
Landed at https://github.com/jquery/jquery/commit/b20f536748300d5aef31ad68cc5adff849a1ee13
Releases at code.jquery.com will have associated maps, and maps will be included in the packages released to other CDNs:
jquery-X.Y.Z.js jquery-X.Y.Z.min.js jquery-X.Y.Z.min.map
NOTE: Renaming the uncompressed jquery-X.Y.Z.js file requires an edit to the jquery-X.Y.Z.min.map file to reference its new name or location.
comment:5 Changed 4 months ago by ryanseddon
You may be aware but the current rc1 release of 1.9 tries to request code.jquery.com/dist/jquery.min.map in chrome dev tools which 404s.
Manually requesting http://code.jquery.com/jquery-1.9.0rc1.min.map works but the comment being generated by the build is wrong.
comment:6 Changed 4 months ago by dmethvin
- Status changed from closed to reopened
- Resolution fixed deleted
Thanks! Yes, the build process fixed the map file but I missed the comment.
comment:7 Changed 4 months ago by dmethvin
- Status changed from reopened to closed
- Resolution set to fixed
Lazy bots.
Closed via https://github.com/jquery/jquery/commit/e348b4060848b46a6c4376661c093e0f0a3ef9e7 (1.9) and https://github.com/jquery/jquery/commit/2ff2d1d3dcd99f7bd45fa312ba91bb1248cb6d55 (2.0)
I am seeing inconsistent behavior in Chrome 23 Windows but think it's Chrome and not the map file.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
