Skip to content

Support implicit file extensions (.coffee => .js.coffee) #38

Open
vjpr opened this Issue Feb 14, 2012 · 1 comment

2 participants

@vjpr
vjpr commented Feb 14, 2012

Bringing an existing .coffee code base across from Rails is an annoyance and I would prefer to standardise with the implied form as we are using it everywhere else. It's obvious that .coffee requires the extension .js and it's more DRY.

The only potential issue is if you wanted to keep .coffee files within the project that would not be compiled which might be the case for some blogs (although we are using Stasis for making Chrome extensions).

Rails/Sprockets already supports this.

@trans
trans commented Jun 22, 2012

+1

@rudolfochrist rudolfochrist added a commit to rudolfochrist/stasis that referenced this issue Mar 26, 2013
@rudolfochrist rudolfochrist Add use default extensions for scss and coffee
Set a default extension for SCSS and CoffeScript files if infix
extension is lacking, such as in application.scss or application.coffee
instead of application.css.scss or application.js.coffee.
This also addresses issue #38
25fa3d5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.