Rails 7 with react and esbuild --loader: .js=jsx

running build with --loader: .js=jsx leaves my regular javascript files not written to the builds folder, instead each of those files is shown with a yellow exclamation symbol to indicate error