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

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

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

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

vjpr opened this issue Feb 14, 2012 · 1 comment

Comments

@vjpr
Copy link

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
Copy link

trans commented Jun 22, 2012

+1

rudolfochrist added a commit to rudolfochrist/stasis that referenced this issue Mar 26, 2013
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 winton#38
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