Skip to content

oneOf rule has been picked multiple times #16466

@xiaoxiaojx

Description

@xiaoxiaojx

Bug report

vercel/next.js#42283

What is the current behavior?

!!xxx/css-loader/src/index.js??xxx/postcss-loader/src/index.js??ruleSet[1].rules[3].oneOf[6].use[2]!./globals.css will not pick any loader, but asset/resource can be merged in

What is the expected behavior?

image

I'm guessing that the following new judgment statement should be added

+ if (r.type !== "type" || (r.type === "type" && r.value === settings.type) ) {

+ }

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