@@ -13,8 +13,8 @@ module.exports = {
13
13
14
14
availableOptions : [
15
15
{ name : 'flat' , type : Boolean , default : false } ,
16
- { name : 'inline-template' , type : Boolean , default : false , aliases : [ 'it' ] } ,
17
- { name : 'inline-style' , type : Boolean , default : false , aliases : [ 'is' ] } ,
16
+ { name : 'inline-template' , type : Boolean , aliases : [ 'it' ] } ,
17
+ { name : 'inline-style' , type : Boolean , aliases : [ 'is' ] } ,
18
18
{ name : 'prefix' , type : Boolean , default : true } ,
19
19
{ name : 'spec' , type : Boolean , default : true }
20
20
] ,
@@ -56,6 +56,14 @@ module.exports = {
56
56
this . styleExt = this . project . ngConfig . defaults . styleExt ;
57
57
}
58
58
59
+ options . inlineStyle = options . inlineStyle !== undefined ?
60
+ options . inlineStyle :
61
+ this . project . ngConfigObj . get ( 'defaults.inline.style' ) ;
62
+
63
+ options . inlineTemplate = options . inlineTemplate !== undefined ?
64
+ options . inlineTemplate :
65
+ this . project . ngConfigObj . get ( 'defaults.inline.template' ) ;
66
+
59
67
return {
60
68
dynamicPath : this . dynamicPath . dir . replace ( this . dynamicPath . appRoot , '' ) ,
61
69
flat : options . flat ,
0 commit comments