Mimified, chunked build like using webpack and run without node module #7471
Unanswered
shadikkhan
asked this question in
Q&A
Replies: 1 comment 1 reply
-
If you have any code files pointed inside configuration file, it will be imported inside the artifacts. So in that case, it seems you use a custom fetch exported from AuthMiddleware. The artifacts should be able to get built if you don't move the generated files. So you can use any bundler to bundle the artifacts. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using graphql mesh with typescript format and currently when I build the graphql mesh it take path to my other code like middleware,utils,plugins etc code and depend on node module to run the application.
Is there any ways we can build the code in such a way that first it can me minified and in chunked and second it can be run from build directory without the need of node modules? Something like webpack build?
Problem which I face recently was when we trigger the run on server we had to do
npm i
(since is need node modules) and that causes some child child dependency version auto increment which causes whole things downBeta Was this translation helpful? Give feedback.
All reactions