@@ -204,12 +204,8 @@ export class FrameworkConfiguration {
204204 */
205205 feature ( plugin : string , config ? : any = { } ) : FrameworkConfiguration {
206206 let hasIndex = / \/ i n d e x $ / i. test ( plugin ) ;
207- let moduleId = hasIndex || getExt ( plugin ) ?
208- plugin :
209- plugin + '/index' ;
210- let root = hasIndex ?
211- plugin . substr ( 0 , plugin . length - 6 ) :
212- plugin ;
207+ let moduleId = hasIndex || getExt ( plugin ) ? plugin : plugin + '/index' ;
208+ let root = hasIndex ? plugin . substr ( 0 , plugin . length - 6 ) : plugin ;
213209 return this . plugin ( { moduleId, resourcesRelativeTo : [ root , '' ] , config } ) ;
214210 }
215211
@@ -290,8 +286,8 @@ export class FrameworkConfiguration {
290286
291287 // Default configuration helpers
292288 // Note: Please do NOT add PLATFORM.moduleName() around those module names.
293- // Those functions are not guaranteed to be called, they are here to faciliate
294- // common configurations. If they are not called, we don't want to include a
289+ // Those functions are not guaranteed to be called, they are here to faciliate
290+ // common configurations. If they are not called, we don't want to include a
295291 // static dependency on those modules.
296292 // Including those modules in the bundle or not is a decision that must be
297293 // taken by the bundling tool, at build time.
0 commit comments