We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c83002 commit a44f98eCopy full SHA for a44f98e
lib/internal/main/run_third_party_main.js
@@ -1,9 +1,13 @@
1
'use strict';
2
3
-// Legacy _third_party_main.js support
+const {
4
+ prepareMainThreadExecution
5
+} = require('internal/bootstrap/pre_execution');
6
7
+prepareMainThreadExecution();
8
markBootstrapComplete();
9
10
+// Legacy _third_party_main.js support
11
process.nextTick(() => {
12
require('_third_party_main');
13
});
0 commit comments