Title: ngcc: processed umd bundles fail with syntax errors in IE11 · Issue #34525 · angular/angular · GitHub
Open Graph Title: ngcc: processed umd bundles fail with syntax errors in IE11 · Issue #34525 · angular/angular
X Title: ngcc: processed umd bundles fail with syntax errors in IE11 · Issue #34525 · angular/angular
Description: 🐞 bug report Affected Package @angular/compiler-cli - ngcc Is this a regression? Yes, this doesn't seem to happen in Angular v9.0.0-rc.6 Description Processed UMD bundles sometimes seem to have superfluous comma tokens that break evaluat...
Open Graph Description: 🐞 bug report Affected Package @angular/compiler-cli - ngcc Is this a regression? Yes, this doesn't seem to happen in Angular v9.0.0-rc.6 Description Processed UMD bundles sometimes seem to have sup...
X Description: 🐞 bug report Affected Package @angular/compiler-cli - ngcc Is this a regression? Yes, this doesn't seem to happen in Angular v9.0.0-rc.6 Description Processed UMD bundles sometimes seem to have...
Opengraph URL: https://github.com/angular/angular/issues/34525
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ngcc: processed umd bundles fail with syntax errors in IE11","articleBody":"\u003c!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅\r\n\r\nOh hi there! 😄\r\n\r\nTo expedite issue processing please search open and closed issues before submitting a new one.\r\nExisting issues often contain information about workarounds, resolution, or progress updates.\r\n\r\n🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->\r\n\r\n\r\n# 🐞 bug report\r\n\r\n### Affected Package\r\n\r\n@angular/compiler-cli - ngcc\r\n\r\n### Is this a regression?\r\n\r\nYes, this doesn't seem to happen in Angular v9.0.0-rc.6\r\n\r\n### Description\r\n\r\nProcessed UMD bundles sometimes seem to have superfluous comma tokens that break evaluation of the file in IE11.\r\n\r\n```js\r\n// First broken code ↓ \r\n... factory(exports, require('rxjs'), require('rxjs/operators'),) :\r\n\r\n// Second superfluous comma ↓ \r\n... define('@angular/core', ['exports', 'rxjs', 'rxjs/operators',]\r\n\r\n// Third broken code ↓ \r\n}(this, (function (exports, rxjs, operators,) { 'use strict';\r\n```\r\n\r\nNote: This all seems to happen in the canonical AMD module header. It seems to happen three times per bundle. Basically every time the dependencies of the AMD module are specified.\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\nhttps://github.com/devversion/ie11-ngcc-compat\r\n\r\n## 🔥 Exception or Error\r\n```\r\nSCRIPT1002: Syntax Error\r\ncore.umd.js (8,128)\r\n```\r\n\r\n## 🌍 Your Environment\r\n\r\n**Angular Version:**\r\n\r\nAngular v9.0.0-rc.7","author":{"url":"https://github.com/devversion","@type":"Person","name":"devversion"},"datePublished":"2019-12-21T11:28:51Z","url":"https://github.com/angular/angular/issues/34525"}
| 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:069c3ec9-82f2-b42c-55f6-e80e1e1a120f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8386:38E318:B83915:E8317D:6B013145 |
| html-safe-nonce | 2e8f2efa5ce7e0e506c6f2ee535e8ce0724b478ce410427acbeadca232015a68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Mzg2OjM4RTMxODpCODM5MTU6RTgzMTdEOjZCMDEzMTQ1IiwidmlzaXRvcl9pZCI6IjM0Njc1ODI1OTQ1NzU1Nzc0MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 67efedded0916db5cb2e8a4434aa71bf88ce1a7a732fea557ddf1eee84836d1c |
| hovercard-subject-tag | issue:541316727 |
| 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/34525/issue_layout |
| twitter:image | https://opengraph.githubassets.com/29b6aafc17f7b06cb4f9cdbb54792f512e7e65e4c6231c19528a8849c7671fb8/angular/angular/issues/34525 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/29b6aafc17f7b06cb4f9cdbb54792f512e7e65e4c6231c19528a8849c7671fb8/angular/angular/issues/34525 |
| og:image:alt | 🐞 bug report Affected Package @angular/compiler-cli - ngcc Is this a regression? Yes, this doesn't seem to happen in Angular v9.0.0-rc.6 Description Processed UMD bundles sometimes seem to have sup... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | devversion |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width