website icon indicating copy to clipboard operation
website copied to clipboard

Documentation on Dependency resolution: Missing sequence information on glob import

Open SetTrend opened this issue 6 months ago • 0 comments

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.

SetTrend avatar Jun 20 '25 01:06 SetTrend