build: tsify worker/init (#24497)

This commit is contained in:
Samuel Attard 2020-07-09 20:32:37 -07:00 committed by GitHub
parent 8847517798
commit 5737fda154
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -327,7 +327,7 @@ auto_filenames = {
"lib/renderer/ipc-renderer-internal.ts",
"lib/renderer/remote/callbacks-registry.ts",
"lib/renderer/webpack-provider.ts",
"lib/worker/init.js",
"lib/worker/init.ts",
"package.json",
"tsconfig.electron.json",
"tsconfig.json",

View file

@ -1,6 +1,5 @@
'use strict';
import * as path from 'path';
const path = require('path');
const Module = require('module');
// We modified the original process.argv to let node.js load the