Tag: path
-
How to bundle a graphql project that uses fileloaders? for example graphql-tools
0 I am trying to bundle my graphql server using esbuild. The problem Im having is when everything is bundled together graphql-tools cant find resolvers and typeDefs due to the file running in a diffrent directory meaning a diffrent __dirname. My schema.js file: import { makeExecutableSchema } from ‘@graphql-tools/schema’; import { loadFilesSync } from ‘@graphql-tools/load-files’;…