Title: Bazel - Relocate sourcemaps · Issue #23520 · angular/angular · GitHub
Open Graph Title: Bazel - Relocate sourcemaps · Issue #23520 · angular/angular
X Title: Bazel - Relocate sourcemaps · Issue #23520 · angular/angular
Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [ ] Performance issue [X] Feature request [ ] Documentation issue or request [ ] Support request => Please do not submi...
Open Graph Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [ ] Performance issue [X] Feature request [ ] Documentation issue or request [ ...
X Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [ ] Performance issue [X] Feature request [ ] Documentation issue or reques...
Opengraph URL: https://github.com/angular/angular/issues/23520
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bazel - Relocate sourcemaps","articleBody":"\u003c!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\n\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\n\u003c!-- Check one of the following options with \"x\" -->\r\n\u003cpre>\u003ccode>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[ ] Bug report \u003c!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Performance issue\r\n[X] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n[ ] Other... Please describe:\r\n\u003c/code>\u003c/pre>\r\n\r\n## Current behavior\r\nAt the moment sourcemaps `sources` paths are not correct as they point to the build directory example: `../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/common/http/src/module.ts`.\r\n\r\nTake a look at: https://unpkg.com/@angular/common@6.0.0-rc.5/fesm2015/http.js.map\r\n\r\nIdeally during build time these are relocated in order for the consumer of Angular to be able to debug easier as at the moment, If someone tries to use these sourcemaps it is a bit difficult for consumers to find what they are looking for especially considering if you type `@angular/core` nothing comes up.\r\n\r\nCurrent result in browser;\r\n\r\n\r\nWith `ng-packagr` we are doing this and you can have a look here;\r\nhttps://github.com/dherges/ng-packagr/blob/4e6c4f4bb21869c69f084560af3fa75531e4d07f/src/lib/ng-v5/entry-point/relocate-source-maps.transform.ts\r\n\r\nThe sourcemaps can eventually be emitted with the correct path, and flatten module id, so the consumers can find it easier.\r\n\r\nexample;\r\n`ng://@angular/common/http/src/module.ts`\r\n\r\n## Expected behavior\r\nSourcemaps are relocated for a better debugging experience. \r\n\r\n\r\n## Environment\r\n\r\n\u003cpre>\u003ccode>\r\nAngular version: 6.0.0-rc5\r\n\u003c!-- Check whether this is still an issue in the most recent Angular version -->\r\n","author":{"url":"https://github.com/alan-agius4","@type":"Person","name":"alan-agius4"},"datePublished":"2018-04-24T10:19:08Z","url":"https://github.com/angular/angular/issues/23520"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:84b53504-7c5a-4a76-2ed0-721cd049d51a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A2F4:3F8A67:DF1BD2:12AE44A:6B010808 |
| html-safe-nonce | b4a0a74ef3890e780c18e66a8dbd7157dbd46f27bc1a92eeaf06e0867b8df157 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkY0OjNGOEE2NzpERjFCRDI6MTJBRTQ0QTo2QjAxMDgwOCIsInZpc2l0b3JfaWQiOiIyOTQ1MDkyOTQ2Nzc0NTI1OTYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b5d64715e841c2ee2837c306ea0e213b21a1d117db7b71efb67783ddbc7bccbf |
| hovercard-subject-tag | issue:317161740 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/23520/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8d20a4545eb1f1e6e12f4f840c1a58e2459313020236f265c2869a6ceac39f06/angular/angular/issues/23520 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8d20a4545eb1f1e6e12f4f840c1a58e2459313020236f265c2869a6ceac39f06/angular/angular/issues/23520 |
| og:image:alt | I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [ ] Performance issue [X] Feature request [ ] Documentation issue or request [ ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alan-agius4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width