From eb80769a686fc299f16f10a473014fbdf93191fd Mon Sep 17 00:00:00 2001 From: filip mertens Date: Tue, 17 Sep 2024 09:51:04 +0200 Subject: [PATCH] add preload --- apps/remixdesktop/esbuild.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remixdesktop/esbuild.js b/apps/remixdesktop/esbuild.js index cca1b88b29..88ce4045eb 100644 --- a/apps/remixdesktop/esbuild.js +++ b/apps/remixdesktop/esbuild.js @@ -1,8 +1,8 @@ const esbuild = require('esbuild'); esbuild.build({ - entryPoints: ['src/main.ts'], // Your TypeScript entry point - outfile: 'build/main.js', // Output bundled file + entryPoints: ['src/main.ts', 'src/preload.ts'], // Your TypeScript entry point + outdir: 'build', // Output bundled file bundle: true, // Bundle all dependencies platform: 'node', // Target Node.js platform external: ['electron', 'fsevents', 'node-pty'], // Exclude native modules