Added global variable isNexe
This commit is contained in:
+1
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user