Typescript prod deployment

Unfortunately, even though my api\src\functions\graphql.js already says import services from 'src/services/**/*.{js,ts}';, I’m getting this error when deploying to Netlify (including the local netlify-cli build):

Error: In file "/opt/build/repo/api/dist/functions/graphql.js": Cannot find module '../lib/scrapers/GA/Gwinnett.ts' from '/opt/build/repo/api/dist/services'

It feels very related to the troubles I was having at Deploy failed due to an error in @netlify/plugin-functions-core plugin even though @dthyresson later was able to clone my repo and didn’t have problems with it.

My yarn rw dev still runs everything fine. I’ll report once I figure it out.