Compress textures
Closed this issue · 2 comments
ChrisVilches commented
Textures are loaded using esbuild using the Base64 loader. The lengths of the strings are:
console.log(steelTexture.length) // => 7127
console.log(groundTexture.length) // => 7011
Compress to improve loading times.
ChrisVilches commented
And from webpack (after migrating from esbuild):
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
app.js (1.72 MiB)
ChrisVilches commented
Removed textures from the bundle (and it's still big, so the problem is somewhere else)