Perhaps typescript would be better option? Would be interested to have a smaller bundle. #27
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Perhaps typescript would be better option? Would be interested to have a smaller bundle.
We can get more mileage if we focus on the cpexcel as its the largest part.
Noticed the cpexcel.js can probably be reduced in size as there's many repeated strings like we can have the common prefix as separate variable.
Below constant is repeated 31 times, which can reduce about 8K characters.
The below scripts can be created as factory / common functions
Below is called 26 times - can reduce about 4K
Below have 468 calls to it - about 50K reduction
The above 3 combined, we can easily shave off 60K+ characters from the script.
I think the above should be still maintaining the readability of the current code.
Originally posted by @beeing in https://github.com/SheetJS/sheetjs/issues/2085#issuecomment-876825328