Skip to content

[Bug]: parallel loader emit error after logging anything #11771

@claneo

Description

@claneo

System Info

@rspack/core: 1.5.7

Details

break statement is missed in:

case RequestType.GetLogger: {
const [type, name, arg] = args;
(loaderContext.getLogger(name) as any)[type](...arg);
}
case RequestType.EmitError: {

BTW, why the noFallthroughSwitchClause rule is turned off?

"noFallthroughSwitchClause": "off",

Reproduce link

No response

Reproduce Steps

  1. enable less-loader parallel
  2. import '@arco-design/web-react/dist/css/index.less

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions