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

Reduce size of the webpack build #87

Open
djmbritt opened this issue Jan 5, 2023 · 0 comments
Open

Reduce size of the webpack build #87

djmbritt opened this issue Jan 5, 2023 · 0 comments
Labels
bounty Bounty Board Ticket

Comments

@djmbritt
Copy link
Member

djmbritt commented Jan 5, 2023

Currently, the webpack build comes out to 2.xx MB.
That is far too big to be used when it is loaded in a frontend.

Some suggestions where to start are:
See how the webpack build configuration can be adjusted.
See how the imports can be adjusted to reduce the size.
See if implementing terser in the webpack build is useful.
There are probably other ways to do this, but I would start with these.

As a last resort, it might be worthwhile to use some other build tool, such as roll-up.

@djmbritt djmbritt added bounty Bounty Board Ticket and removed bounty Bounty Board Ticket labels Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty Bounty Board Ticket
Projects
Status: Defunct
Development

No branches or pull requests

1 participant