couldn't find file ... with type 'application/javascript' when using *.js.jst.ejs.slim
Opened this issue · 0 comments
profyarborough commented
Hi, my issues seems to be related to a post a while ago:
#497
So we recently updated sprockets. This removed some template imports in some js functions. When I now want to import the templates again (*.js.jst.ejs.slim files) I get the message from above.
I am not sure what to do. I guess either I need to convert my templates into the expected .js file or I need to tweak something in the sprockets config. Since I haven't really worked with sprockets yet I don't know what to do.
Do you have an idea? It seems like the above linked issue has been resolved through a gem update back in the days?
Greets