Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v7 only] Support ESM using native import #989

Open
mariusa opened this issue Jan 13, 2022 · 1 comment
Open

[v7 only] Support ESM using native import #989

mariusa opened this issue Jan 13, 2022 · 1 comment

Comments

@mariusa
Copy link

mariusa commented Jan 13, 2022

Following up on #987
sequelize-cli v6 uses an import wrapper to support ESM.

For sequelize-cli v7, which drops node 10, please support ESM natively:

  • use native import instead of the wrapper
  • .sequelizerc no longer having module.exports and require
  • have a .sequelizerc ESM example in docs

Thanks!

@ephys
Copy link
Member

ephys commented Jan 13, 2022

A .sequelizerc ESM example can already be added for v6 :) #990

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants