@@ -201,7 +201,7 @@ class HtmlWebpackPlugin {
201
201
plugin : self
202
202
} ) )
203
203
. then ( ( { assetTags } ) => {
204
- // Inject scripts to body unless it set explictly to head
204
+ // Inject scripts to body unless it set explicitly to head
205
205
const scriptTarget = self . options . inject === 'head' ? 'head' : 'body' ;
206
206
// Group assets to `head` and `body` tag arrays
207
207
const assetGroups = this . generateAssetGroups ( assetTags , scriptTarget ) ;
@@ -214,7 +214,7 @@ class HtmlWebpackPlugin {
214
214
} ) ;
215
215
} ) ;
216
216
217
- // Turn the compiled tempalte into a nodejs function or into a nodejs string
217
+ // Turn the compiled template into a nodejs function or into a nodejs string
218
218
const templateEvaluationPromise = Promise . resolve ( )
219
219
. then ( ( ) => {
220
220
if ( 'error' in templateResult ) {
@@ -527,7 +527,7 @@ class HtmlWebpackPlugin {
527
527
/**
528
528
* @type {string } the configured public path to the asset root
529
529
* if a path publicPath is set in the current webpack config use it otherwise
530
- * fallback to a realtive path
530
+ * fallback to a relative path
531
531
*/
532
532
const webpackPublicPath = compilation . mainTemplate . getPublicPath ( { hash : compilationHash } ) ;
533
533
const isPublicPathDefined = webpackPublicPath . trim ( ) !== '' ;
@@ -585,7 +585,7 @@ class HtmlWebpackPlugin {
585
585
if ( ! asset ) {
586
586
return true ;
587
587
}
588
- // Prevent hot-module files from beeing included:
588
+ // Prevent hot-module files from being included:
589
589
const assetMetaInformation = asset . info || { } ;
590
590
return ! ( assetMetaInformation . hotModuleReplacement || assetMetaInformation . development ) ;
591
591
} ) ;
@@ -622,8 +622,8 @@ class HtmlWebpackPlugin {
622
622
}
623
623
624
624
/**
625
- * Converts a favicon file from disk to a webpack ressource
626
- * and returns the url to the ressource
625
+ * Converts a favicon file from disk to a webpack resource
626
+ * and returns the url to the resource
627
627
*
628
628
* @param {string|false } faviconFilePath
629
629
* @param {WebpackCompilation } compilation
0 commit comments