Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kadrian opened this issue Jul 28, 2015 · 1 comment
Open

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

Kadrian opened this issue Jul 28, 2015 · 1 comment

Comments

@Kadrian
Copy link

Kadrian commented Jul 28, 2015

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?

@hsume2
Copy link
Owner

hsume2 commented Jul 28, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants