Skip to content

create single dist esm file to clear circular dependencies #2035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

iambumblehead
Copy link

@iambumblehead iambumblehead commented Nov 7, 2024

resolves #2019


related: #2022

banner: copyright,
name: 'Immutable',
// generates one esm file with no circular imports
file: path.join(DIST_DIR, 'es', 'Immutable.js'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a matter of fact, it was like that before trying to resolve tree-shaking in 8dffce4#diff-a098417b5f500a442eab89048eb0705bf6acad8b8f76514b70d27ba2e10f55a5

But we can not resolve tree-shaking because everything is connected, so let's rollback to a single file 👍

@jdeniau
Copy link
Member

jdeniau commented Nov 7, 2024

Merged in 7452d39

@jdeniau jdeniau closed this Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

circular dependency (invalid esm) in v5 at /dist/es/Seq.js and dist/es/Collection.js
3 participants