Skip to content

Compile component styles into styles.bundle.css #7219

@MickL

Description

@MickL

Bug Report or Feature Request (mark with an x)

- [ ] bug report
- [X] feature request

Versions.

v1.3.0-rc.3

Repro steps.

Compile (ng start / build) with --extract-css true. Styles set in .angular-cli.json will be bundled into a single file (correct). Component styles are still inline (and, btw, have no sourcemaps).

Further question

Is it possible to concat component-styles with the main style.bundle.css to have a single css-file only? If this is done before sass runs, this would also solve #1253

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions