criblio / js2bin

NodeJS application to native executable
Apache License 2.0
94 stars 17 forks source link

Adding support for _third_party_main.js #33

Closed nromito closed 2 years ago

nromito commented 2 years ago

support was removed in v15 and beyond. Resolves https://github.com/criblio/js2bin/issues/21

The approach here is to patch the node source code to add back the support that was removed in this PR https://github.com/nodejs/node/pull/33971 for this issue https://github.com/nodejs/node/issues/24017

There's just two simple patches that need applying to re-enable support