You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When "db-migrate create" is executed it created a new .js file that uses commonjs. However, my project uses ES modules (ESM) i.e. I have "type": "module" in my main package.json file. For this reason I'm interested in one of these two features:
Command line switch that makes "db-migrate create" create a .cjs file instead of a .js file.
Command line switch that makes "db-migrate create" output an ES module (ESM) with "import" instead of require etc.
The text was updated successfully, but these errors were encountered:
When "db-migrate create" is executed it created a new .js file that uses commonjs. However, my project uses ES modules (ESM) i.e. I have "type": "module" in my main package.json file. For this reason I'm interested in one of these two features:
The text was updated successfully, but these errors were encountered: