Skip to content

Commit d6e531a

Browse files
author
Tajudeen
committed
Fix child_process import in extensions.js - use direct require instead of .default
1 parent 9c2924c commit d6e531a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build/lib/extensions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports.webpackExtensions = webpackExtensions;
1717
exports.buildExtensionMedia = buildExtensionMedia;
1818
const event_stream_1 = require("event-stream");
1919
const fs = require("fs");
20-
const child_process_1 = require("child_process");
20+
const child_process = require("child_process");
2121
const glob_1 = require("glob");
2222
const gulp_1 = require("gulp");
2323
const path = require("path");
@@ -567,7 +567,7 @@ async function esbuildExtensions(taskName, isWatch, scripts) {
567567
if (outputRoot) {
568568
args.push('--outputRoot', outputRoot);
569569
}
570-
const proc = child_process_1.default.execFile(process.argv[0], args, {}, (error, _stdout, stderr) => {
570+
const proc = child_process.execFile(process.argv[0], args, {}, (error, _stdout, stderr) => {
571571
if (error) {
572572
return reject(error);
573573
}

0 commit comments

Comments
 (0)