Alternative: Use esbuild-plugin-copy If you prefer not to manually copy the binary, you can use the esbuild-plugin-copy plugin to automate this process. Install the plugin:
npm install esbuild-plugin-copy --save-dev