Skip to content

How to support js.coffee.erb files? #36

@Kadrian

Description

@Kadrian

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions