Open neverfox opened 9 years ago
Yup, that's on purpose, as @dbashford was explaining me at the beginning of this year, while converting mimosa-config.coffee to js. All new projects, no matter if js
or coffee
will have a mimosa-config.js
.
Thanks for letting me know it's not an oversight, but I'd love some more technical explanation for why that is the case.
I don't have a good answer for this other than: It's hard. Hard to output CoffeeScript, hard to maintain that code. It does output the documented
file which is in CoffeeScript for legacy reasons. And in most cases hand updating JS to CS is 30 seconds of typing.
@dbashford this should be pretty much solved once its not possible anymore.
It'll still be possible to create a coffeescript project with mimosa new
. It just won't output a documented
file. So this issue is still valid.
I'll take a look at this once I wrap up 3.0
. Maybe 3.0.1
=) I'm hopeful it'll just be a few regexs to eliminate all the extra stuff.
When creating a new CoffeeScript project, Mimosa produces
mimosa-config.js
rather thanmimosa-config.coffee
as one would expect.