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, 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 useasset_pathbrowserify 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?