File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -117,19 +117,19 @@ export class ServerHashedFileMapping extends HashedFileMapping {
117117 */
118118 addThemeStyles ( themeConfigurations : ThemeConfig [ ] ) {
119119 for ( const themeConfiguration of themeConfigurations ) {
120- const p = `${ this . root } /${ themeConfiguration . name } -theme.css` ;
121- const hp = this . add ( p ) ;
120+ const path = `${ this . root } /${ themeConfiguration . name } -theme.css` ;
121+ const hashPath = this . add ( path ) ;
122122
123- // We know this CSS is likely needed, so wecan avoid a FOUC by retrieving it in advance
124- // Angular does the same for global styles, but doesn't "know" about out themes
123+ // We know this CSS is likely needed, so we can avoid a FOUC by retrieving it in advance
124+ // Angular does the same for global styles, but doesn't "know" about our themes
125125 this . addHeadLink ( {
126- path : p ,
126+ path,
127127 rel : 'prefetch' ,
128128 as : 'style' ,
129129 } ) ;
130130
131- this . ensureCompressedFilesAssumingUnchangedContent ( p , hp , '.br' ) ;
132- this . ensureCompressedFilesAssumingUnchangedContent ( p , hp , '.gz' ) ;
131+ this . ensureCompressedFilesAssumingUnchangedContent ( path , hashPath , '.br' ) ;
132+ this . ensureCompressedFilesAssumingUnchangedContent ( path , hashPath , '.gz' ) ;
133133 }
134134 }
135135
You can’t perform that action at this time.
0 commit comments