Tohrusky/Final2x

[FEATURE] reduce app size

Closed this issue · 4 comments

Is your feature request related to a problem? | 你的feature请求是否与一个问题有关? | あなたのfeatureリクエストは質問に関連していますか?

No

Detail | 详细描述 | 詳細な説明

Thanks for your great work!

The electron app size can be optimized. there are plenty of useless npm dependencies be packaged into the app

According to https://github.com/electron-vite/vite-plugin-electron-renderer#dependency-pre-bundling and electron-builder doc, all the dependencies are bundled by vite and there is no need to package them into app.

The recommended approach is simply moving all the dependencies, except for native modules, from the dependencies to the devDependencies in the package.json.

Hello @subframe7536, your issue has been closed because it does not conform to our issue template.

你好 @subframe7536,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合模版格式而被自动关闭。

こんにちは、@subframe7536さん、あなたの問題は、弊社の問題テンプレートに準拠していないため、クローズされました。

Bot detected the issue body's language is not English, translate it automatically.


Hello @subframe7536, your issue has been closed because it does not conform to our issue template.

You're welcome @subframe7536, because it's possible to proceed with high efficiency, our issue has certain formality requirements, your issue is due to unmatched model formalities and automatic issues.

Hi @subframe7536, Your issue has been closed because it does not comply with our issue template.

Hello @subframe7536, your issue has been closed because it does not conform to our issue template.

你好 @subframe7536,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合模版格式而被自动关闭。

こんにちは、@subframe7536さん、あなたの問題は、弊社の問題テンプレートに準拠していないため、クローズされました。

Bot detected the issue body's language is not English, translate it automatically.


Hello @subframe7536, your issue has been closed because it does not conform to our issue template.

You're welcome @subframe7536, because it's possible to proceed with high efficiency, our issue has certain formality requirements, your issue is due to unmatched model formalities and automatic issues.

Hi @subframe7536, Your issue has been closed because it does not comply with our issue template.