@@ -11,7 +11,6 @@ module.exports = {
1111
1212 availableOptions : [
1313 { name : 'flat' , type : Boolean , default : false } ,
14- { name : 'route' , type : Boolean , default : false } ,
1514 { name : 'inline-template' , type : Boolean , default : false , aliases : [ 'it' ] } ,
1615 { name : 'inline-style' , type : Boolean , default : false , aliases : [ 'is' ] } ,
1716 { name : 'prefix' , type : Boolean , default : true } ,
@@ -54,7 +53,6 @@ module.exports = {
5453 inlineTemplate : options . inlineTemplate ,
5554 inlineStyle : options . inlineStyle ,
5655 route : options . route ,
57- isLazyRoute : ! ! options . isLazyRoute ,
5856 isAppComponent : ! ! options . isAppComponent ,
5957 selector : this . selector ,
6058 styleExt : this . styleExt
@@ -84,18 +82,6 @@ module.exports = {
8482 var dir = this . dynamicPath . dir ;
8583 if ( ! options . locals . flat ) {
8684 dir += path . sep + options . dasherizedModuleName ;
87-
88- if ( options . locals . isLazyRoute ) {
89- var lazyRoutePrefix = '+' ;
90- if ( this . project . ngConfig &&
91- this . project . ngConfig . defaults &&
92- this . project . ngConfig . defaults . lazyRoutePrefix !== undefined ) {
93- lazyRoutePrefix = this . project . ngConfig . defaults . lazyRoutePrefix ;
94- }
95- var dirParts = dir . split ( path . sep ) ;
96- dirParts [ dirParts . length - 1 ] = `${ lazyRoutePrefix } ${ dirParts [ dirParts . length - 1 ] } ` ;
97- dir = dirParts . join ( path . sep ) ;
98- }
9985 }
10086 var srcDir = this . project . ngConfig . apps [ 0 ] . root ;
10187 this . appDir = dir . substr ( dir . indexOf ( srcDir ) + srcDir . length ) ;
0 commit comments