We're currently using ts-node to run the bot in production, but this has the downside of requiring the default yarn install, rather than using yarn --prod. This is bundling some extra dependencies we don't need:
- eslint
- prettier
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
This should be fixable by compiling the TypeScript code during the Docker build process - probably a quick fix.
We're currently using
ts-nodeto run the bot in production, but this has the downside of requiring the default yarn install, rather than usingyarn --prod. This is bundling some extra dependencies we don't need:This should be fixable by compiling the TypeScript code during the Docker build process - probably a quick fix.