@@ -13,8 +13,8 @@ module.exports = {
1313
1414 availableOptions : [
1515 { 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' ] } ,
1818 { name : 'prefix' , type : Boolean , default : true } ,
1919 { name : 'spec' , type : Boolean , default : true }
2020 ] ,
@@ -56,6 +56,14 @@ module.exports = {
5656 this . styleExt = this . project . ngConfig . defaults . styleExt ;
5757 }
5858
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+
5967 return {
6068 dynamicPath : this . dynamicPath . dir . replace ( this . dynamicPath . appRoot , '' ) ,
6169 flat : options . flat ,
0 commit comments