You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In sprockets if you place assets/javascript/client/pay.html.erb and assets/javascript/client/pay.js.erb both will be compiled and placed in assets folder as client/pay.html and client/pay.js . Is there a way to replicate this behaviour in propshaft?
The text was updated successfully, but these errors were encountered:
Unfortunately no. Propshaft by design does not do transpiling/compiling (coffee to js, scss to css, etc). You need extra gems like cssbundling-rails and jsbundling-rails for that. Currently I’m not aware of any gems that handle erb files.
In sprockets if you place
assets/javascript/client/pay.html.erb
andassets/javascript/client/pay.js.erb
both will be compiled and placed in assets folder asclient/pay.html
andclient/pay.js
. Is there a way to replicate this behaviour in propshaft?The text was updated successfully, but these errors were encountered: