-
-
Notifications
You must be signed in to change notification settings - Fork 34
Description
I know that the goal of this library is to encapsulate the webpack loader of graphql code generator, but when our project is in use, we do feel that the webpack loader makes the startup of dev a little slow. Graphql-let cli will take nearly 80s to generate, but when dev is started, webpack loader still needs to spend more than 1 minute on graphql-let, which makes me feel unacceptable. It seems to me that graphql-let has generated the corresponding graphql.d.ts file and the code to call Apollo Client, so it shouldn't take so much time on the loader. Maybe I'm using it incorrectly, or do you have any suggestions for performance improvement? Or, can we abandon HMR and let graphql-let cli do all the work, which can reduce our project startup time.