Motivation
@AntonioVentilii had an issue with deploying Sputnik serverless functions. We figured out the root cause was the emulator not being able to read the juno.config because the module was importing some constants from another file (e.g. import * from src/constants.ts) which is not visible for the emulator.
At some point we should likely review the approach use endpoints to configure the emulator though, as I tested earlier last year, it becomes quite verbose.
See junobuild/cli#377 (comment)