Skip to content

Documentation on Dependency resolution: Missing sequence information on glob import #1122

@SetTrend

Description

@SetTrend

On the Dependency Resolution page, in section Glob specifiers, it reads:

Glob imports also work with CSS:

@import "./components/*.css";

is equivalent to:

@import "./components/button.css";
@import "./components/dropdown.css";

Sequence of imported files may be key in certain situations, as CSS rules may overwrite each other.

Please, specify how imports are sorted when using @parcel/resolver-glob.

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