Replace import of full lodash module with individual functions.
This reduces the size of the gzip JS bundle from 726kb to 642kb.
Differential D9481
[Cashtab] Reduce bundle size by 70kb (10%) bytesofman on May 6 2021, 20:05. Authored by Tags None Subscribers None
Details
Replace import of full lodash module with individual functions. This reduces the size of the gzip JS bundle from 726kb to 642kb. docker build -t cashtab_local . docker run --rm -p 8080:80 --name cashtab cashtab_local Navigate to localhost:8080 and check the size of the largest bundle in the Network tab
Diff Detail
|