@@ -11,7 +11,6 @@ module.exports = {
11
11
12
12
availableOptions : [
13
13
{ name : 'flat' , type : Boolean , default : false } ,
14
- { name : 'route' , type : Boolean , default : false } ,
15
14
{ name : 'inline-template' , type : Boolean , default : false , aliases : [ 'it' ] } ,
16
15
{ name : 'inline-style' , type : Boolean , default : false , aliases : [ 'is' ] } ,
17
16
{ name : 'prefix' , type : Boolean , default : true } ,
@@ -54,7 +53,6 @@ module.exports = {
54
53
inlineTemplate : options . inlineTemplate ,
55
54
inlineStyle : options . inlineStyle ,
56
55
route : options . route ,
57
- isLazyRoute : ! ! options . isLazyRoute ,
58
56
isAppComponent : ! ! options . isAppComponent ,
59
57
selector : this . selector ,
60
58
styleExt : this . styleExt
@@ -84,18 +82,6 @@ module.exports = {
84
82
var dir = this . dynamicPath . dir ;
85
83
if ( ! options . locals . flat ) {
86
84
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
- }
99
85
}
100
86
var srcDir = this . project . ngConfig . apps [ 0 ] . root ;
101
87
this . appDir = dir . substr ( dir . indexOf ( srcDir ) + srcDir . length ) ;
0 commit comments