We're currently sitting at ~89K for our minified version. That's a lot. Looking at the bundle info above, a few things we could do here:
Pull the Shell out into a separate file (3K + 7K = 10K). You don't always need it, so let's not always bundle it
Reduce the size of implementation.js by moving to async/await and throwing away most of the callback code. We have tones of code that is just functions wrapped around checks err callbacks. If we used async/await instead, we'd just await in a try...catch.
We're currently sitting at ~89K for our minified version. That's a lot. Looking at the bundle info above, a few things we could do here:
implementation.js
by moving toasync/await
and throwing away most of the callback code. We have tones of code that is just functions wrapped around checks err callbacks. If we usedasync/await
instead, we'd justawait
in atry...catch
.#569 to pull WebSQL out into a separate file (2K)#572 to remove nodash.js (2K)