[GH-ISSUE #62] proton-native should be splitted to avoid dependency on babel for production app #34

Closed
opened 2026-05-05 11:30:23 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @develar on GitHub (Mar 22, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/62

Currently, proton-native depends on babel-cli and babel-core, babel-preset-* and so on (https://www.npmjs.com/package/proton-native?activeTab=dependencies).

So, as proton-native should be specified as a production dependency (https://github.com/kusti8/proton-native/blob/master/examples/Notepad/package.json#L7), it leads to bloated packaged final app.

electron-builder excludes libui-download for now and can exclude babel in the same way, but I thinkproton-native should be splitted into production-only and development-only parts.

Originally created by @develar on GitHub (Mar 22, 2018). Original GitHub issue: https://github.com/kusti8/proton-native/issues/62 Currently, proton-native depends on babel-cli and babel-core, babel-preset-* and so on (https://www.npmjs.com/package/proton-native?activeTab=dependencies). So, as `proton-native` should be specified as a production dependency (https://github.com/kusti8/proton-native/blob/master/examples/Notepad/package.json#L7), it leads to bloated packaged final app. electron-builder excludes `libui-download` for now and can exclude `babel` in the same way, but I think`proton-native` should be splitted into production-only and development-only parts.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#34
No description provided.