From 03374f9f47181f8ad72935910e7e51fb89f0557e Mon Sep 17 00:00:00 2001 From: TheKiba Date: Thu, 11 Aug 2016 21:08:12 +0200 Subject: [PATCH] Added global variable isNexe --- lib/bundle.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/bundle.js b/lib/bundle.js index bc2460b..b8a5670 100644 --- a/lib/bundle.js +++ b/lib/bundle.js @@ -46,9 +46,8 @@ function bundle(input, nc, options, complete) { const mapfile = options.output+'.map'; let ws = fs.createWriteStream(bundlePath); - const igv = '__filename,__dirname,_process'; - let insertGlobalVars = {}, + let insertGlobalVars = { isNexe: true }, wantedGlobalVars = igv.split(','); // parse insertGlobalVars.