How to configure esbuild with a build script