WebchatWidget
WebchatWidget copied to clipboard
webchat.js is file absurdly huge
the webchat.js file (v2.56.0) has a size of 1.5mb, that can hardly be necessary. There is an existing plugin system that should be used for special cases, while the file should really only contain the basis that is needed.
At a quick glance, the file seems to contain:
- multiple date/time picker libraries, including tons of localisation strings for many languages
- occurencies of CSS, SVG, Base 64 PNGs, audio files inlined in js, that should probably be handled differently.
- Rich-Text editor
- social sharing integrations
- multiple video players