opencollective-api icon indicating copy to clipboard operation
opencollective-api copied to clipboard

Try esm

Open hdiniz opened this issue 2 years ago • 0 comments

Building and running the API in ESM mode works:

npm run build && node ./dist
  • [x] Fix development live reload
  • [x] Fix jest execution
  • [ ] migrate mocking and stubing from sinon to an ESM compatible method.
  • [ ] find solution for stubbing some modules in the e2e run.
  • [x] Fix cron jobs (they use babel-node, so same issue as live reload)
  • [x] Fix scripts (same as cron and live reload)
  • [ ] Migrate migrations to .cjs or .cts to be required as commonjs by sequelize

hdiniz avatar Jun 02 '23 18:06 hdiniz