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

Enable code splitting in webpack build tasks. #29

Open
azaslonov opened this issue Sep 7, 2019 · 5 comments
Open

Enable code splitting in webpack build tasks. #29

azaslonov opened this issue Sep 7, 2019 · 5 comments

Comments

@azaslonov
Copy link
Member

Compiled files become too heavy, so it is time to split bundle into several files.

@msrshahrukh100
Copy link

Are there any plans to include this enhancement? Any ideas on how I can reduce the bundle size?

@azaslonov
Copy link
Member Author

Hi @msrshahrukh100, right, this tasks sit here for too long. I can't give an exact ETA, but we'll close it by end of the year.

@msrshahrukh100
Copy link

Hi @azaslonov please let me know if there's any update on this. Thanks :)

@azaslonov
Copy link
Member Author

@msrshahrukh100, I experimented a bit with webpack code-splitting features, making separate chunk for node_modules. Seems to be working in this configuration, but ideally we'd need to have dynamic chunks, so not merging it to master branch yet but feel free to checkout az/code-splitting branch and this commit specifically.

@azaslonov azaslonov reopened this Jan 8, 2023
@msrshahrukh100
Copy link

@azaslonov thanks for the change. The size of the paperbits.js file has now been reduced to 33.8kb which was 4Mb earlier but the size of the generated vendor.js is 4Mb now. Can the size of vendor.js be reduced?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants