I am attempting to use ES6 syntax in my Rails 4 app and have had some success between the use of
sprockets-rails (3.0.4) and
The only issue I'm having is that my files need to end in
.es6 in order to enable proper compilation and I'd like to be able to use a
.js.erb file type to allow me to use embedded ruby
<%= foo %>.
Does anyone know of a way around this?