Taking some time to load a 15.3 MB build version of widget.Sendbird.js

I successfully generated from the “npm run build” but the build version of it is taking 2-3 minutes to load on the project. Please help how to load it faster like 10 seconds or less. Thanks in advance :smiley:

Take note that my internet speed is stable as well.

Hi @Karl_Angelo_Tanjuan

Could you let me know the source repository and version information?

Alright, this is where I get the source repository:

source: sendbird-javascript-samples/javascript/javascript-widget at master · sendbird/sendbird-javascript-samples · GitHub
version: 0.18.0

I don’t understand that it takes 2 to 3 minutes to load.
I don’t think there’s a problem with loading in a few seconds.
Could you capture late loading in the video?

Okay, I will share screenshot regarding this. Thanks.

Hi @Yongjun_Choi, here’s the screenshot, I test it again and it’s less than a minute now, but still loading slow (36.71s) in total.

Hi @Yongjun_Choi already optimized the script from 15.3 MB to 5 MB, I just changed the webpack.config.js line from

devtool: “cheap-eval-source-map”,

devtool: false,