Skip to content

ng build works but emits a warning #9784

@patrickgdl

Description

@patrickgdl

Versions

Angular CLI: 1.7.1
Node: 6.9.5
OS: win32 x64
Angular: 5.2.6

@angular/cli: 1.7.1
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.1
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.4.2
webpack-bundle-analyzer: 2.11.0
webpack: 3.11.0

Repro steps

  • ng build --prod --base-href ./

Observed behavior

ng build works as expected but emit this warning and it break my css:

WARNING in Invalid character(s) ';
' at 324:2. Ignoring.

Desired behavior

No warning and no breaking

Mention any other details that might be useful (optional)

Where can I find this character at 324:2?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions