You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.
I'm trying to reduce the payload/loading times for the game I'm working on. It looks like (from the console) that the TypeScript scripts are being compiled on the fly, even after export. Is there any way to pre-compile this and remove the compiler from the shipped code?
This may have the potential to make everything much lighter (there's over 2mo of JS shipped right now and it's unclear how heavy the plugins actually are but overall it could be well over 5mo). At the moment the loading time on mobile makes the whole thing almost unusable.
The text was updated successfully, but these errors were encountered:
EDIT: I've hacked something similar in one of my games that had a lot of scripts, and I can attest that it makes loading a lot faster on slower processors / mobile.
I'm trying to reduce the payload/loading times for the game I'm working on. It looks like (from the console) that the TypeScript scripts are being compiled on the fly, even after export. Is there any way to pre-compile this and remove the compiler from the shipped code?
This may have the potential to make everything much lighter (there's over 2mo of JS shipped right now and it's unclear how heavy the plugins actually are but overall it could be well over 5mo). At the moment the loading time on mobile makes the whole thing almost unusable.
The text was updated successfully, but these errors were encountered: