Skip to content

Use 'label' phase instead of 'debug' phase to extract css #5

@ajoslin

Description

@ajoslin

If people use bundle-collapser, the string 'insert-css' is replaced with a number.

Since bundle-collapser is run in the label phase and css-extract is run afterwards the debug phase, no css is extracted -- no insert-css strings exist in the code after bundle-collapser runs.

Since we rely on module names being strings and since bundle-collapser is such a common plugin to use (IMO), I think running before the label phase is reasonable.

Is there a separate line of reasoning for the debug phase being chosen?

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