Hello!
I’m trying to drop in jsbundling-rails and ESbuild into sprockets, and wondering how to do old school style unobtrusive JS with .js.erb
files. There’s no ESbuild loader for .erb
I think, but generally also just wondering if there’s a strategy for preserving these response templates or if it’s possible at all.
E.g. is it possible to read Rails.app.secrets into JS through ESbuild, that previously was possible with embedded ruby?