Title: AOT Compilation Doesn't Work With Sub-Package Fonts · Issue #20676 · angular/angular · GitHub
Open Graph Title: AOT Compilation Doesn't Work With Sub-Package Fonts · Issue #20676 · angular/angular
X Title: AOT Compilation Doesn't Work With Sub-Package Fonts · Issue #20676 · angular/angular
Description: I'm submitting a... [X] Bug report (It might be a regression, or it might be a bug uncovered in a browser vendor change.) Current behavior When I run my project with npm run ng -- serve --aot or when I build npm run build, fonts don't sh...
Open Graph Description: I'm submitting a... [X] Bug report (It might be a regression, or it might be a bug uncovered in a browser vendor change.) Current behavior When I run my project with npm run ng -- serve --aot or wh...
X Description: I'm submitting a... [X] Bug report (It might be a regression, or it might be a bug uncovered in a browser vendor change.) Current behavior When I run my project with npm run ng -- serve --aot o...
Opengraph URL: https://github.com/angular/angular/issues/20676
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AOT Compilation Doesn't Work With Sub-Package Fonts","articleBody":"## I'm submitting a...\r\n[X] Bug report\r\n(It _might_ be a regression, or it might be a bug uncovered in a browser vendor change.)\r\n\r\n## Current behavior\r\nWhen I run my project with `npm run ng -- serve --aot` or when I build `npm run build`, fonts don't show up in Chrome or Firefox. They _do_ show up correctly in Safari and they _do_ show up correctly across modern browsers when I run without --aot. See below for the project details.\r\n\r\n## Expected behavior\r\nFonts should display correctly when I run under --aot.\r\n\r\n## Minimal reproduction of the problem with instructions\r\nHere's a repo with a minimum case reproduction:\r\nhttps://github.com/jameslafferty/aot-font-issue\r\n\r\n1. run `npm start`\r\n2. Observe the 3 home icons at http://localhost:4200 in Chrome and Firefox\r\n3. run `npm run ng -- serve --aot`\r\n4. Observe the placeholder icons at the url above and the error in the dev tools console\r\n\r\n## What is the motivation / use case for changing the behavior?\r\nProviding a demo application within a mono-repo that hosts components used across many applications.\r\n\r\n## Environment\r\nAngular version: 5.0.3\r\n\r\nBrowser:\r\n- [X] Chrome (desktop) version 62.0.3202.94\r\n- [X] Firefox version 57.0\r\n","author":{"url":"https://github.com/jameslafferty","@type":"Person","name":"jameslafferty"},"datePublished":"2017-11-29T00:39:19Z","url":"https://github.com/angular/angular/issues/20676"}
| 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:789d2a7d-5aaa-dcaa-eb53-64b9c354e1cd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD30:65610:66480:88C79:6B022318 |
| html-safe-nonce | d28c08fcd8f1a0455c715fab093b57e9bc6a63b8bd06a03a5ee580a02c4c9e5a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDMwOjY1NjEwOjY2NDgwOjg4Qzc5OjZCMDIyMzE4IiwidmlzaXRvcl9pZCI6IjY3MDU2NjgwMzM3MTA1MzEzNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5583bdc8983265b82ff98c02d001bd189ec46e532a1d47f03ade91dcb5855e93 |
| hovercard-subject-tag | issue:277589429 |
| 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/20676/issue_layout |
| twitter:image | https://opengraph.githubassets.com/54bddec1e9f0440014a3321af3f8ec138885ef88dacc8eca3a135e94cb617f2a/angular/angular/issues/20676 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/54bddec1e9f0440014a3321af3f8ec138885ef88dacc8eca3a135e94cb617f2a/angular/angular/issues/20676 |
| og:image:alt | I'm submitting a... [X] Bug report (It might be a regression, or it might be a bug uncovered in a browser vendor change.) Current behavior When I run my project with npm run ng -- serve --aot or wh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jameslafferty |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width