question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[REGRESSION][v12.2] Font is no longer loaded

See original GitHub issue

🐞 Bug report

Command (mark with an x)

  • build
  • serve

Is this a regression?

Yes, the previous version in which this bug was not present was: 12.1

Description

I have attached a simple demo app which reproduces the issue. Basically following font import in foo-bar.css (included in angular.json styles section) is ignored in v12.2 but works as intended in v12.1:

@import 'https://fonts.googleapis.com/css2?family=Manrope:wght@500;800&display=swap';

🔬 Minimal Reproduction

  • Install dependencies and run ng serve in the demo project provided

🌍 Your Environment


@angular/cli 12.2.3
@angular-devkit/architect    0.1202.3
@angular-devkit/core         12.2.3
@angular-devkit/schematics   12.2.3
@schematics/angular          12.2.3

🐛 Bug demo

import-bug2.zip

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:17

github_iconTop GitHub Comments

1reaction
alan-agius4commented, Aug 31, 2021
1reaction
alan-agius4commented, Aug 31, 2021

Opened an issue https://github.com/webpack-contrib/css-loader/issues/1365, let’s see what’s their response.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flutter - Custom Font not displaying
In my code, I do this: new Text("Testtext", style: new TextStyle(fontFamily: "Coiny")), But it has no effect. I have encountered a similar ...
Read more >
Missing Courier font on Terminal macOS Monterey
In recent years, Apple seems to have 'hidden' a number of System fonts from font menus, even though they are active.
Read more >
14.6 Using Fonts in PDF Files
These are fonts that every PDF renderer has, and they include standards such as Times, Helvetica, and Courier. If you create a PDF...
Read more >
12.3 - Poisson Regression | STAT 462
Maximizing the likelihood (or log likelihood) has no closed-form solution, so a technique like iteratively reweighted least squares is used to find an...
Read more >
Xcode 13.1 will gets "stuck" on iOS Monterey/ New 2021 pro
There should be no reason that Xcode won't run on the new M1 Pro chips, ... Load more comments. ... MBP 13inch 2020...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found