2 ms·
Tree shaking, ES6 imports, yes to all of the above. I tried a game engine some time ago (sadly I forget what it was called) but it bundled the entire library a
by afavour 4y ago
Tree shaking, ES6 imports, yes to all of the above.
I tried a game engine some time ago (sadly I forget what it was called) but it bundled the entire library as soon as you tried to do the basic thing. If I recall it was over 1MB. These days JS transpires have incredible functionality for slimming down payload sizes and it's awesome to see more and more libraries making use of it.