js-algorand-sdk
js-algorand-sdk copied to clipboard
Lazy-load `langspec.json` to save space on the 32KB JSON file
Importing langspec.json
in its entirety immediately adds 32kb to the webpack bundle. Ideally, we should dynamically import the JSON file only when it is needed. Refer to the webpack docs for more details and possible implementation examples.