browserify-rails
browserify-rails copied to clipboard
How to support js.coffee.erb files?
Hi, I manage to use browserify with the coffeeify option set:
config.browserify_rails.commandline_options = '-t coffeeify --extension=".js.coffee"'
However, as soon as I rename a file map.js.coffee.erb, because I want to use asset_path browserify doesn't recognize anymore that it's supposed to be Coffeescript and I get a parse error.
Can you help me there? Am I forgetting some configuration? Or is it not possible to use both .js.coffee and js.coffee.erb files with browserify / coffeeify?
Hi @Kadrian,
I am no longer maintaining the project and ownership of the project has moved here: https://github.com/browserify-rails/browserify-rails.
If you submit your issue there, you'd probably get some more eyes on your issue.
Cheers, Henry