Skip to content

Commit

Permalink
feat: allow .cjs ext for configs
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Nov 19, 2021
1 parent 9740aa6 commit 118a894
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/getConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const CONFIG_FILES = [
`.${CONFIG_NAME}rc.yaml`,
`.${CONFIG_NAME}rc.yml`,
`.${CONFIG_NAME}rc.js`,
`.${CONFIG_NAME}rc.cjs`,
`${CONFIG_NAME}.config.js`,
`${CONFIG_NAME}.config.cjs`,
];

/**
Expand Down

0 comments on commit 118a894

Please sign in to comment.