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

Bundle size is huge! Even larger than Electron?! #78

Open
mzy2240 opened this issue Nov 20, 2021 · 1 comment
Open

Bundle size is huge! Even larger than Electron?! #78

mzy2240 opened this issue Nov 20, 2021 · 1 comment

Comments

@mzy2240
Copy link

mzy2240 commented Nov 20, 2021

Just tried using neutralinojs, tauri and electron to package a Vue-based website and did a quick comparison. Surprisingly, neutralinojs produces the largest binary! res.neu is incredibly 75 MB and it has to be bundled with executable file to work properly. I am using the latest neu.

@shalithasuranga
Copy link
Member

shalithasuranga commented Nov 20, 2021

Hey.. thanks for reporting this issue. Looks like this is related to neutralinojs/neutralinojs#685 Please note Neutralinojs's framework size is always around 2MB and very small compared to other frameworks. But, as you mentioned, app resources also cause the size of the app. Therefore, I think we need to implement a compression mechanism with CLI. So I am transferring this issue to the CLI (it generates the bundle)

@shalithasuranga shalithasuranga transferred this issue from neutralinojs/neutralinojs Nov 20, 2021
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

Successfully merging a pull request may close this issue.

2 participants