ShakaCode | ShakaCode Blog | Rails On Maui Blog | Rails | ReactJs | JavaScript | Webpack | Productivity |

Use js files in client folder on the front end


#1

Hello,

I am using React On Rails and there are some javascript files in my client/app/assets/javascripts folder with functions that I would like to use in my rails views. Oddly, those javascript files dont seems to get compiled/added into my vendor-bundle.js or app-bundle.js files that get provided to the front end client. How can I make sure that they are provided to the client ?

Thanks,

Andy