@@ -201,7 +201,7 @@ class HtmlWebpackPlugin {
201201plugin : self
202202} ) )
203203. then ( ( { assetTags } ) => {
204- // Inject scripts to body unless it set explictly to head
204+ // Inject scripts to body unless it set explicitly to head
205205const scriptTarget = self . options . inject === 'head' ? 'head' : 'body' ;
206206// Group assets to `head` and `body` tag arrays
207207const assetGroups = this . generateAssetGroups ( assetTags , scriptTarget ) ;
@@ -214,7 +214,7 @@ class HtmlWebpackPlugin {
214214} ) ;
215215} ) ;
216216
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
218218const templateEvaluationPromise = Promise . resolve ( )
219219. then ( ( ) => {
220220if ( 'error' in templateResult ) {
@@ -527,7 +527,7 @@ class HtmlWebpackPlugin {
527527/**
528528 * @type {string } the configured public path to the asset root
529529 * 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
531531 */
532532const webpackPublicPath = compilation . mainTemplate . getPublicPath ( { hash : compilationHash } ) ;
533533const isPublicPathDefined = webpackPublicPath . trim ( ) !== '' ;
@@ -585,7 +585,7 @@ class HtmlWebpackPlugin {
585585if ( ! asset ) {
586586return true ;
587587}
588- // Prevent hot-module files from beeing included:
588+ // Prevent hot-module files from being included:
589589const assetMetaInformation = asset . info || { } ;
590590return ! ( assetMetaInformation . hotModuleReplacement || assetMetaInformation . development ) ;
591591} ) ;
@@ -622,8 +622,8 @@ class HtmlWebpackPlugin {
622622}
623623
624624/**
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
627627 *
628628 * @param {string|false } faviconFilePath
629629 * @param {WebpackCompilation } compilation
0 commit comments