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

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

Comments

Projects
None yet
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

This comment has been minimized.

Show comment
Hide comment
@trans

trans Jun 22, 2012

+1

trans commented Jun 22, 2012

+1

rudolfochrist added a commit to rudolfochrist/stasis that referenced this issue Mar 26, 2013

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment