@@ -105,6 +105,7 @@ export class GlimmerAnalyzer extends Analyzer<TEMPLATE_TYPE> {
105
105
106
106
// Fetch the block associated with this template. If no block file for this
107
107
// component exists, does not exist, stop.
108
+ this . debug ( "Analyzing template... resolving block " , dir , componentName ) ;
108
109
let block : Block | undefined = await this . resolveBlock ( dir , componentName ) ;
109
110
if ( ! block ) { return analysis ; }
110
111
@@ -125,15 +126,15 @@ export class GlimmerAnalyzer extends Analyzer<TEMPLATE_TYPE> {
125
126
elementCount ++ ;
126
127
const atRootElement = ( elementCount === 1 ) ;
127
128
const element = elementAnalyzer . analyze ( node , atRootElement ) ;
128
- if ( self . debug . enabled ) self . debug ( `{{${ name } }} analyzed:` , element . class . forOptimizer ( self . cssBlocksOptions ) . toString ( ) ) ;
129
+ if ( self . debug . enabled ) self . debug ( `{{${ node . path . original } }} analyzed:` , element . class . forOptimizer ( self . cssBlocksOptions ) . toString ( ) ) ;
129
130
} ,
130
131
131
132
BlockStatement ( node : AST . BlockStatement ) {
132
133
if ( ! isAnalyzedHelper ( node ) ) { return ; }
133
134
elementCount ++ ;
134
135
const atRootElement = ( elementCount === 1 ) ;
135
136
const element = elementAnalyzer . analyze ( node , atRootElement ) ;
136
- if ( self . debug . enabled ) self . debug ( `{{#${ name } }} analyzed:` , element . class . forOptimizer ( self . cssBlocksOptions ) . toString ( ) ) ;
137
+ if ( self . debug . enabled ) self . debug ( `{{#${ node . path . original } }} analyzed:` , element . class . forOptimizer ( self . cssBlocksOptions ) . toString ( ) ) ;
137
138
} ,
138
139
139
140
ElementNode ( node ) {
0 commit comments