-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
How to reduce size of my custom build #1811
Comments
I really want to do so. Will be great if you could help. You can look at this sunburst chart to understand more, https://cdn.botframework.com/botframework-webchat/master/stats.html. (The sunburst chart is 30+ MB) Few things:
If we finish these tasks, we could possibly shave off 30-40% of file size. The other thing to investigate, could we leverage code-splitting? Code-splitting in component is new to us (or anyone, I believe). |
You should look into Insane. Haven't worked with it yet, but it looks promising. |
@kislakiruben great to know about insane, but last update was 3 years ago. 😳 |
If you run If you run I believe the tree-shaking algorithm in development build is not as aggressive as production build. |
Closing as stale |
This is in continuation to Issue #1715
We are trying to reduce the size of custom built project that uses node module botframework-webchat 4.2.1-0.
We found that the size of the file webchat.js in cdn is 1.74MB where as size of file webchat-minimal.js in cdn is 1.09MB only.
My question here is how webchat-minimal.js was built so that I can follow similar steps in my custom project so as to make my final built file size smaller.
Thanks in advance,
Vishwa
The text was updated successfully, but these errors were encountered: