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

Only build karmatic entry points #61

Merged
merged 2 commits into from
Aug 12, 2020

Conversation

andrewiggins
Copy link
Collaborator

If I understand correctly the only two entry points for karmatic are the cli (cli.js) and package main (index.js). So I've updated our microbundle script to only build our entrypoints. Since we are only building our entry points it cuts our package size in half.

@marvinhagemeister
Copy link
Collaborator

I think there is something wrong with the bundling config. Looking at the logs it seems like we don't bundle up karmatic into a single file.

@andrewiggins
Copy link
Collaborator Author

Oh, yup. We refer to the appender.js file in the karma config

Copy link
Collaborator

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

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

Sweet 🙌

@marvinhagemeister marvinhagemeister merged commit d6a33d5 into developit:master Aug 12, 2020
@andrewiggins andrewiggins deleted the build-entry-points branch August 12, 2020 21:11
@andrewiggins
Copy link
Collaborator Author

@developit Just want to double check with you there wasn't a reason we don't know about for shipping configure.js as a separate file in the karmatic bundle

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