fix(schematics): set appRoot of libs to ''

This commit is contained in:
vsavkin 2017-10-04 15:43:49 -04:00
parent 04ef067baf
commit dee9bb8759

View File

@ -8,7 +8,8 @@ function addLibToAngularCliJson(options: Schema): Rule {
const appConfig = {
'name': options.name,
'root': path.join('libs', options.name, options.sourceDir),
'test': '../../../test.js'
'test': '../../../test.js',
"appRoot": ""
};
if (!host.exists('.angular-cli.json')) {