Skip to content
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

Use new format instead of legacy #1

Merged
merged 1 commit into from
Feb 24, 2023
Merged

Conversation

loqimean
Copy link
Contributor

"es" and "esm" are both formats for ECMAScript modules.

"es" is a legacy format that was used before the introduction of the "esm" format. It is a simple format that does not support all the features of modern ES modules. For example, it does not support dynamic imports.

"esm" is a newer and more advanced format that is designed to work with modern ES modules. It supports all the features of ES modules, including dynamic imports, export renaming, and export namespace objects. It is the recommended format for building modern JavaScript libraries and applications.

Copy link
Owner

@marcoroth marcoroth left a comment

Choose a reason for hiding this comment

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

Thanks @loqimean!

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.

None yet

2 participants