Support .cjs file extension
darthf1 opened this issue · 2 comments
darthf1 commented
Hi!
I was wondering if it would be possible to allow the .cjs
extension for the config file? So .locorc.js
can also become .locorc.cjs
.
robrechtme commented
Hi
For the v2.1.1 release I migrated to cosmiconfig, which should support .cjs
out of the box!
Feel free to try it out:
npm i loco-cli@next
darthf1 commented
Ah yes, that works great! Thanks.