swc/crates/swc_webpack_ast/tests/fixture/process-shim/1/output.js
Donny/강동윤 15ea98bf65
fix(webpack/ast): Fix webpackAST (#3040)
swc_webpack_ast:
 - `reducer`: Flatten safe statements.
 - `reducer`: Preserve variables.
2021-12-14 17:28:51 +09:00

33 lines
706 B
JavaScript

var process = module.exports = null;
var cachedSetTimeout;
var cachedClearTimeout;
var queue;
var draining;
var currentQueue;
var queueIndex;
var timeout;
var len;
process.nextTick = function() {
var args;
};
process.title = null;
process.browser = null;
process.env = null;
process.argv = null;
process.version = null;
process.versions = null;
process.on = null;
process.addListener = null;
process.once = null;
process.off = null;
process.removeListener = null;
process.removeAllListeners = null;
process.emit = null;
process.prependListener = null;
process.prependOnceListener = null;
process.listeners = null;
process.binding = null;
process.cwd = null;
process.chdir = null;
process.umask = null;