Hello,
A colleague of mine has tried to add the trial version of the new Gantt component to a Salesforce Lightning Web Component. Unfortunately salesforce cannot use the component as the file size is too big.
Looking at the 2mb gantt.module.js there seems to be some code obfuscation tool in use. Is this adding to the file size, and if so is this present in the none trial version?
Cheers
Support Forum
Hello,
The bundles of 1.0.0 release take:
gantt.module.js 4.1Mb
gantt.module.min.js 1.1Mb
gantt.umd.js 7.5Mb
gantt.umd.min.js 1.9Mb
whereas trial bundles take:
gantt.module.js 2Mb
gantt.umd.js 4.3Mb
Therefore obfuscation tool makes the bundles 2 times bigger roughly.
Cheers,
Pavel
The bundles of 1.0.0 release take:
gantt.module.js 4.1Mb
gantt.module.min.js 1.1Mb
gantt.umd.js 7.5Mb
gantt.umd.min.js 1.9Mb
whereas trial bundles take:
gantt.module.js 2Mb
gantt.umd.js 4.3Mb
Therefore obfuscation tool makes the bundles 2 times bigger roughly.
Cheers,
Pavel
Pavlo Miklashevych
Sr. Frontend Developer