robrechtme/loco-cli

Support .cjs file extension

darthf1 opened this issue · 2 comments

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.

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

Ah yes, that works great! Thanks.