Closed
Description
Would it be possible to add exports for barrels
and cliSystemConfigPackages
constants in system-config.ts blueprint, so we can reuse them in our custom build process'? Quite easy to do manually, but would be nice to have it by default for new projects, and when there's new version of CLI...
////////////////////////////////////////////////////////////////////////////////////////////////
/***********************************************************************************************
* Everything underneath this line is managed by the CLI.
**********************************************************************************************/
export const barrels: string[] = [
// Angular specific barrels.
'@angular/core',
'@angular/common',
'@angular/compiler',
'@angular/http',
'@angular/router',
'@angular/platform-browser',
'@angular/platform-browser-dynamic',<% if(isMobile) { %>
'@angular/app-shell',<% } %>
// Thirdparty barrels.
'rxjs',
// App specific barrels.
'app',
'app/shared',
/** @cli-barrel */
];
export const cliSystemConfigPackages: any = {};
barrels.forEach((barrelName: string) => {
cliSystemConfigPackages[barrelName] = { main: 'index' };
});