abartov / bybeconv

Project Ben-Yehuda's content management system.
https://benyehuda.org/
Other
10 stars 5 forks source link

Sprockets 4 and CoffeeScript removal #323

Closed damisul closed 2 months ago

damisul commented 2 months ago

This PR updates application to use sprockets 4. This version uses manifest.js, so I've added one with same settings as was used in with sprockets 3.

Also I've removed number of empty js and css files created by rails generators.

Upd: Also I've removed coffee-script dependency from project. There were only one coffee function in whole project, so I've reimplemented it in js.

NOTE: you may need to run rake tmp:cache:clear if rails will argue about missing coffee-script gem (it happens due to stale sprocket's cache)