From 3692c142fb8c11093cd92924fb7b33fd33b446ac Mon Sep 17 00:00:00 2001 From: calebboyd Date: Thu, 4 Apr 2019 09:47:20 -0500 Subject: [PATCH] doc: describe mangle option --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index a91c1df..2233c02 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,10 @@ compile({ - #### `cwd: string` - Directory nexe will operate on as though it is the cwd - default: process.cwd() + - #### `mangle: boolean` + - If set to false, nexe will not include the virtual filesystem (your application and resources) on the output. + - This will cause the output to error as an "Invalid Binary" unless a userland patch alters the contents of lib/_third_party_main.js in the nodejs source. + - default: true - #### `build: boolean` - Build node from source, passing this flag tells nexe to download and build from source. Subsequently using this flag will cause nexe to use the previously built binary. To rebuild, first add [`--clean`](#clean-boolean) - #### `asset: string`