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.