Comment Comment by serverlessmania You'll export a function from your esModule if you want to injectexport const myFn = (...deps) =>You don't need anything else, for encapsulation you have the EsModule, that what OP meant. parent serverlessmania 4 years ago
export const myFn = (...deps) =>
You don't need anything else, for encapsulation you have the EsModule, that what OP meant.