reactjs/react-rails

esbuild

mices opened this issue · 1 comments

mices commented

I'm launching the esbuild script with the following line in package.json:
"build": "esbuild app/javascript/. --bundle --sourcemap --outdir=app/assets/builds --public-path=assets --loader:.js=jsx --platform=node",
With the loader option set to .js=jsx none of my js files get output to the builds folder

What is the issue? Or should this go under: https://github.com/reactjs/react-rails/discussions