function ca(a, c, e) { function f(a, b) { if (a) return console.error(` error: browserify ${h}`.red, "\n", a), l(); let e = b + '', f = null; if (k && (f = JSON.parse(I.fromSource(e).toJSON()), e = I.removeMapFileComments(e)), N.babel.enable) { let a = ea(da(), h, e, f); if (a.err) return l(a.err); e = a.code, f = a.map; } try { q(c, e), k && d.writeFileSync(`${c}.map`, JSON.stringify(f, null, '\t')); } catch (a) { return console.error(` error: write codes and sources map to target file failed!`.red, "\n", a.stack || a), l(a); } return l(); }let h = j(c),k = N.source_map.enable && N.source_map.js,l = e,m = g([a], { extensions: ['.jsx'], debug: k, basedir: i(c), cache: {}, packageCache: {} });N.browserify.transform.map(({ name: a, options: b }) => m.transform(a, b)), L && (m.plugin(H, N.watchify), m.on('update', () => {l = () => (console.log(`${a} updated!`), Q.js()), m.bundle(f);})), m.bundle(f); }