Closed danil-z closed 5 years ago
@danil-z: I'm also encountering the Critical dependency: the request of a dependency is an expression
error - have you found a way around this meanwhile?
I stopped using webpack ;)
As far as I see, the reason is the webpack configuration. So far we don't support bundling node_modules
together with an application due to this issue https://github.com/nestjs/nest/issues/1386
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I'm submitting a...
Current behavior
Webpack and @nestjs/graphql fails to build. Getting errors during Webpack execution:
Expected behavior
Should be able to build using Webpack.
Minimal reproduction of the problem with instructions
I took 12-graphql-apollo sample and added Webpack config
https://github.com/danil-z/webpack-nest-apollo
What is the motivation / use case for changing the behavior?
use Webpack to package bundle with all libs and use with naked node in production
Environment