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

Add esm support #191

Merged
merged 1 commit into from
Jul 27, 2019
Merged

Add esm support #191

merged 1 commit into from
Jul 27, 2019

Conversation

TrySound
Copy link
Collaborator

This is useful for bundlers like rollup which does not support commonjs
our of the box. It's also allows webpack to not wrap each module with
commonjs runtime and enable scope hoisting.

AST plugins already support it
https://github.com/icelab/draft-js-ast-importer/blob/master/package.json#L6
https://github.com/icelab/draft-js-ast-exporter/blob/master/package.json#L6

/cc @sibelius

This is useful for bundlers like rollup which does not support commonjs
our of the box. It's also allows webpack to not wrap each module with
commonjs runtime and enable scope hoisting.

AST plugins already support it
https://github.com/icelab/draft-js-ast-importer/blob/master/package.json#L6
https://github.com/icelab/draft-js-ast-exporter/blob/master/package.json#L6
@TrySound
Copy link
Collaborator Author

/cc @sstur

@sibelius sibelius merged commit 84abcbb into sstur:master Jul 27, 2019
@TrySound TrySound deleted the esm branch July 27, 2019 17:06
@TrySound
Copy link
Collaborator Author

Hi @sibelius. Are you in touch with Simon? Is it possible to release latest changes?

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.

2 participants