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 build #53

Merged
merged 3 commits into from
Nov 22, 2018
Merged

Add esm build #53

merged 3 commits into from
Nov 22, 2018

Conversation

anajavi
Copy link
Contributor

@anajavi anajavi commented Nov 20, 2018

Adds build for ES module. This allows webpack to make smaller bundle.

Also changes to use lodash directly instead of lodash modules. In esm build it uses lodash-es, which also saves space with webpack.

The lodash per-method-packages are deprecated according to lodash roadmap.

@maslianok maslianok merged commit 1d48c17 into maslianok:master Nov 22, 2018
@maslianok
Copy link
Owner

Thanks @anajavi
The ES build is 10% smaller than the cjs build 🎉 👍

@anajavi
Copy link
Contributor Author

anajavi commented Nov 22, 2018

Thank you!

@anajavi anajavi deleted the esmbuild branch November 22, 2018 10:41
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