const os = require ( 'os' ) ; const entry = { index : './src/main/index.ts' , } ; if ( os . platform ( ) === 'win32' ) { entry . conpty_console_list_agent = './node_modules/node-pty/lib/conpty_console_list_agent.js' ; } module . exports = { /**
     * This is the main entry point for your application, it's the first file
     * that runs in the main process.
     */ entry , module : { rules : require ( '../../webpack.rules' ) , } , resolve : { extensions : [ '.js' , '.ts' , '.jsx' , '.tsx' , '.css' , '.json' ] } , } ;