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

Ship readable JS code #275

Open
b1ek opened this issue Apr 25, 2024 · 0 comments
Open

Ship readable JS code #275

b1ek opened this issue Apr 25, 2024 · 0 comments

Comments

@b1ek
Copy link

b1ek commented Apr 25, 2024

Describe the problem

It gets pretty hard to debug an issue when the trace ends up in function A() on index.js:1:348627648235769 or something like that

Describe the solution you'd like

I think that the desktop app does not even need the code to be minified or compressed at all.

Afterall, those are not downloaded each time a user opens the app, right? Even if it is, gzipping the non minified bundle will yield pretty much the same size as minifying.

Alternatives considered

Perhaps ship a debug bundle? Just like i said before, it is not as costly as it would be when deploying a web app. Most of the binary size is tauri's engine anyway, so extra 2~5 MB wouldn't make a difference.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant