Skip to content

Commit

Permalink
feat: 🎸 support cjs config files
Browse files Browse the repository at this point in the history
With nodejs transitioning from cjs to esm with type: module, supporting
the cjs config helps with compatibility

✅ Closes: 401
  • Loading branch information
jlarmstrongiv committed Mar 21, 2022
1 parent aabeb40 commit 4f2ebc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/getConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const defaults = require('./defaults');
const configFiles = [
'.git-cz.json',
'changelog.config.js',
'changelog.config.cjs',
'changelog.config.json'
];

Expand Down

0 comments on commit 4f2ebc5

Please sign in to comment.