aboutsummaryrefslogtreecommitdiff
path: root/node_modules/enhanced-resolve/lib/util/process-browser.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/enhanced-resolve/lib/util/process-browser.js')
-rw-r--r--node_modules/enhanced-resolve/lib/util/process-browser.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/node_modules/enhanced-resolve/lib/util/process-browser.js b/node_modules/enhanced-resolve/lib/util/process-browser.js
new file mode 100644
index 0000000..277f729
--- /dev/null
+++ b/node_modules/enhanced-resolve/lib/util/process-browser.js
@@ -0,0 +1,16 @@
+/*
+ MIT License http://www.opensource.org/licenses/mit-license.php
+ Author Tobias Koppers @sokra
+*/
+
+"use strict";
+
+module.exports = {
+ versions: {},
+ nextTick(fn) {
+ const args = Array.prototype.slice.call(arguments, 1);
+ Promise.resolve().then(function () {
+ fn.apply(null, args);
+ });
+ }
+};