parcel-bundler / parcel

The zero configuration build tool for the web. 📦🚀
https://parceljs.org
MIT License
43.5k stars 2.27k forks source link

Issues when bundling a Nest.js application #3659

Closed ghost closed 4 years ago

ghost commented 5 years ago

Hey guys, short question:

When bundling a simple application {wrapped with Nest.js application-context} with Parcel, I am getting the following issues:

🚨  /demo/node_modules/@nestjs/core/nest-application.js:14:110: Cannot resolve dependency '@nestjs/websockets/socket-module'
  12 | const nest_application_context_1 = require("./nest-application-context");
  13 | const routes_resolver_1 = require("./router/routes-resolver");
> 14 | const { SocketModule } = optional_require_1.optionalRequire('@nestjs/websockets/socket-module', () => require('@nestjs/websockets/socket-module'));
     |                                                                                                              ^
  15 | const { MicroservicesModule } = optional_require_1.optionalRequire('@nestjs/microservices/microservices-module', () => require('@nestjs/microservices/microservices-module')
github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.