opencollective-api
opencollective-api copied to clipboard
Try esm
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
.cjsor.ctsto be required as commonjs by sequelize