eAPD
eAPD copied to clipboard
[Feature] Upgrade backend to use es6
Description and related issues - The backend has been updated to use Babel, but it's unnecessary with our version of node. We need to update the code to use es6 style code. Then we can remove Babel from everything and be able to update packages that don't have commonjs installations (chalk, file-type)
https://electerious.medium.com/from-commonjs-to-es-modules-how-to-modernize-your-node-js-app-ad8cdd4fb662 https://github.com/unquietwiki/cjs-to-es6
This could include:
- [ ] upgrade the code to use es6
- [ ] remove babel from the system
- [ ] upgrade chalk and file-type