We currently search for config/config.json and config/config.js
We should also automatically look for extensions .cjs, and .mjs so specifying the config file location is not necessary.
We should do the same for .sequelizerc (https://github.com/sequelize/cli/blob/main/src/core/yargs.js#L7): load it using importHelper and support files: .sequelizerc (as js), .sequelizerc.js, .sequelizerc.cjs, .sequelizerc.mjs, .sequelizerc.json.
We currently search for
config/config.jsonandconfig/config.jsWe should also automatically look for extensions .cjs, and .mjs so specifying the config file location is not necessary.
We should do the same for
.sequelizerc(https://github.com/sequelize/cli/blob/main/src/core/yargs.js#L7): load it usingimportHelperand support files:.sequelizerc(as js),.sequelizerc.js,.sequelizerc.cjs,.sequelizerc.mjs,.sequelizerc.json.