Darcbar
Darcbar

Reputation: 888

Does sprockets mixin raw .js files or just coffeescript files?

Does the sprocket functionality only mixin .js.coffee files to the application.js or will it also add raw .js files?

Upvotes: 0

Views: 84

Answers (1)

Trevor Burnham
Trevor Burnham

Reputation: 77416

Both. Read the docs, particularly under the heading "Using Engines."

Upvotes: 1

Related Questions