Closed Glideh closed 2 years ago
I checked the built JS files and they're about 22kB, nowhere near 200kB.
I mean not zipped, I'm getting about 44kB zipped, I'm going to investigate further
Look in the lib
folder, the files there are less than 22kB unzipped. If you compress them and get double the size than uncompressed then there is something wrong with your tools.
Well the 160kB unzipped is including the dependencies, xml2js indeed takes only 20Kb
So these 160kB including dependencies are expected ?
Yes, I have no control about the size of the dependencies. Future releases are planned to get rid of xmlbuilder but that's a glacial work in progress.
Ok at least my webpack settings are not wrong :) Thx for your time.
Is ~160kB the expected build size of the library ? Seems quite big, is there a way to use a subset ? Is it tree shakeable or something ?
Good tools BTW, that works very well for me