I am migrating my code from commonJS to es6 as I have to upgrade my node version to 16+.
But, I got stuck here.
module.exports[path.parse(file).name] = sequelize.import(dir+'/'+path.parse(file).name);
I need to convert it to es6 syntax. Tried to google it, but couldn't find anything.