Bundle a JSX application from stdin

esbuild

esbuild --bundle --outfile={{path/to/out.js}} < {{path/to/file.jsx}}

click the source code to copy