I know it's super late, but I had this same issue and I manage to copy those .graphql files with these scripts
"build": "rm -rf dist && tsc && copyfiles -u 1 'src/**/*.graphql' dist/", "start": "npm run build && node ./dist/index.js"