Skip to content
This repository was archived by the owner on Feb 8, 2020. It is now read-only.

Testing building TS with pkg#1

Open
biern wants to merge 1 commit intomasterfrom
feature/tsc-pkg-setup
Open

Testing building TS with pkg#1
biern wants to merge 1 commit intomasterfrom
feature/tsc-pkg-setup

Conversation

@biern
Copy link
Member

@biern biern commented Sep 23, 2017

I tried both nexe and pkg. Had some problems with nexe ignoring command line options (--target) and compiling node for 30minutes. pkg seems more robust and got the job done instantly.
Building binary is fast, and works for all platforms, the downside is file size - ~35 MB on my machine for a hello world app and that was common for both solutions.
I believe we can somehow tune the process to reduce output size
(eg. https://github.com/upx/upx)

@biern biern requested a review from jksf September 23, 2017 18:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant