UNPKG

@athenna/core

Version:

One foundation for multiple applications.

20 lines (19 loc) 547 B
/** * @athenna/core * * (c) João Lenon <lenon@athenna.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import 'reflect-metadata'; import { ServiceProvider } from '@athenna/ioc'; export class CoreProvider extends ServiceProvider { async register() { const services = Config.get('rc.services', []); await ioc.loadModules(services, { addCamelAlias: true, parentURL: Config.get('rc.parentURL') }); } }