Skip to content

[Bug]: redundant side-effect imports in facade entry chunks #8252

@Dunqing

Description

@Dunqing

Reproduction link or steps

https://repl.rolldown.rs/#eNqtUj1PwzAQ/SsnL0mlNhQJMQQxlZmlCJYuJrk0ps65cuwWKcp/5/KdtkJiIINjv7v37vnOlchEXIlCKoq+ymZLIh6PS5HwSRVHYx1UYLE0+oRvuaI91JBZU0AQ3fUwE4KnHe0Iv9v8zFPilCHQRqbvD+ECqh0Bizhv6UIrXDCv3hHXQxE767FeipI10M5MTcD/2EosSofbVvUv5tjTJDmYmiGdq8RQ6VjgaM3GeGJteAbCM2xNga4RfMVzq3nr6LLslaNJcObHaJ2aM0VcNVP7ua/byFXXUswU4aYNj10baBcd40zpdfsfGWFrTtHRu7gzCtANKIZgnFSw7CLNe2K8f1YdWrers4hlLg8Y89Zjixnv5rKJRkkvioXHDIDM2EJyToBlMVUhL/Um93QoQ5X2DWw+lQEDEVJafiiXh8HsbSwWQ48HtLn8L7zpZjNaB66SpvDE7aPkte6x7sbNWjfzFzVP8MQjuY/W0Xr1iU5Gj2tR/wBi4TaX

What is expected?

No import "./resolve-DNfst9LS.js"; in the sorter.jsoutput

What is actually happening?

The sorter.js output has a redundant import import "./resolve-DNfst9LS.js, which should be removed.

import "./resolve-DNfst9LS.js is redundant because the import { t as createSorter } from "./sorter-chunk-CJmPqDr7.js"; already implicitly imported import "./resolve-DNfst9LS.js.

System Info

Not related to this

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions