Hello, me and my coworker have just started toying around this framework and we ran into some little problem.
We would like to modularize endpoint service's modules so that we do not get conflicts when merging. I've tried with 'fs', modularizing into json files and it doesn't work because we're using webpack and everything gets compiled into the dist folder so we lose the reference to the file. Is there any way to make it so this:
{
name: 'USUARIOS_SERVICE',
transport: Transport.RMQ,
options: {
urls: ['amqp://localhost:5672'],
queue: 'usuarios_queue',
queueOptions: {
durable: true
},
},
},
{
name: 'PRODUCTOS_SERVICE',
transport: Transport.RMQ,
options: {
urls: ['amqp://localhost:5672'],
queue: 'productos_queue',
queueOptions: {
durable: true
},
},
},
]),
],```
could look like something like this?:
``` ClientsModule.register(servicesArray),```
but each one of those objects should be imported from different files dynamically and support webpack