Skip to content

Commit 5737fda

Browse files
build: tsify worker/init (electron#24497)
1 parent 8847517 commit 5737fda

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

filenames.auto.gni

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ auto_filenames = {
327327
"lib/renderer/ipc-renderer-internal.ts",
328328
"lib/renderer/remote/callbacks-registry.ts",
329329
"lib/renderer/webpack-provider.ts",
330-
"lib/worker/init.js",
330+
"lib/worker/init.ts",
331331
"package.json",
332332
"tsconfig.electron.json",
333333
"tsconfig.json",

lib/worker/init.js renamed to lib/worker/init.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
'use strict';
1+
import * as path from 'path';
22

3-
const path = require('path');
43
const Module = require('module');
54

65
// We modified the original process.argv to let node.js load the

0 commit comments

Comments
 (0)