Skip to content

ES6 modules can be reordered incorrectly #2362

@dfreedm

Description

@dfreedm

I have a project which seems to make Closure Compiler reorder ES6 modules improperly, breaking functionality.

A small reproduction of this issue can be found at https://github.com/azakus/closure-reorder-import

In this reproduction, I use rollup and the npm package for closure on the same entry point. Rollup will produce the expected output, while closure seems to reorder the modules and produce an incorrect output

@ChadKillingsworth

Metadata

Metadata

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