automatically publish libraries on release (#1439)

This commit is contained in:
Denys Vuika
2020-05-01 17:21:31 +01:00
committed by GitHub
parent c0b81d21a2
commit ab137d3145
3 changed files with 49 additions and 5 deletions

View File

@@ -32,11 +32,15 @@ export type ExtensionLoaderCallback = (
route: ActivatedRouteSnapshot
) => Observable<true>;
export function DefaultExtensionLoaderFactory() {
return [];
}
export const EXTENSION_DATA_LOADERS = new InjectionToken<
ExtensionLoaderCallback[]
>('EXTENSION_DATA_LOADERS', {
providedIn: 'root',
factory: () => []
factory: DefaultExtensionLoaderFactory
});
@Injectable({ providedIn: 'root' })