import { BuildOptions } from 'esbuild' ; import * as path from 'path' ; var const config = { platform : 'node' , entryPoints : [ path . resolve ( 'src/main/main.ts' ) , path . resolve ( 'src/main/preload.ts' ) , ] , bundle : true , target : 'node16.9.1' , } ; export default config ;