console.log('Starting server.'); require('esbuild-server') .createServer( { bundle: true, entryPoints: ['src/index.js'], }, { static: 'public' } ) .start();