Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compress lua files for web builds #7898

Closed
d954mas opened this issue Aug 18, 2023 · 2 comments
Closed

Compress lua files for web builds #7898

d954mas opened this issue Aug 18, 2023 · 2 comments
Labels
feature request A suggestion for a new feature

Comments

@d954mas
Copy link
Sponsor Contributor

d954mas commented Aug 18, 2023

Is your feature request related to a problem? Please describe (REQUIRED):
Lua code can be smaller. In html5.

Not sure about other platforms because they will use bytecode not lua sources?

Describe the solution you'd like (REQUIRED):
Bob compress lua code when make bundle.

Describe alternatives you've considered (REQUIRED):

Additional context (OPTIONAL):
Here is build report for my next game. So lua code is in second place by size.
2023-08-18_19-49-09

ecs.luac 30kb
ecs.txt
ecs.luac zip 9kb
ecs.zip

@d954mas d954mas added the feature request A suggestion for a new feature label Aug 18, 2023
@d954mas
Copy link
Sponsor Contributor Author

d954mas commented Aug 18, 2023

Hmm, looks like bug in 1.5.0

@d954mas
Copy link
Sponsor Contributor Author

d954mas commented Aug 18, 2023

#7899

@d954mas d954mas closed this as completed Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A suggestion for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant