const path = require ( 'path' ) ; const { makeConfig } = require ( './base.webpack.js' ) ; module . exports = makeConfig ( { main : path . resolve ( __dirname , './web_app/main.ts' ) , target : 'electron-renderer' , defaultMode : 'production' , } ) ;