Skip to content

Build warnings after migrating to Angular 12.0.0 for external .css files Unable to locate stylesheet #20794

@jlquijada

Description

@jlquijada

Hi there!

After migrating my project to version 12.0.0, I get the following messages for external .css files when I issue the command ng build:

  • Generating index html...Unable to locate stylesheet: C:\myproject\ClientApp\dist\https:\somedomain\somefile.min.css

Also when running the command ng serve, I get the corresponding warning messages for the same files.

The references (there are two such files) are in the section of my index.html

<link rel="stylesheet" href="https://somedomain/somefile.min.css">

The application is correctly compiling otherwise, and runs correctly.

Thanks a lot for your attention.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions