diff --git a/README.md b/README.md index 710e0e68..d8420001 100644 --- a/README.md +++ b/README.md @@ -521,6 +521,7 @@ about which values are passed. styles: Array, meta: Array, }, + publicPath: string, outputName: string, plugin: HtmlWebpackPlugin }> diff --git a/index.js b/index.js index a9cfd392..846160c4 100644 --- a/index.js +++ b/index.js @@ -298,6 +298,7 @@ function hookIntoCompiler (compiler, options, plugin) { ] }, outputName: childCompilationOutputName, + publicPath: htmlPublicPath, plugin: plugin })) .then(({ assetTags }) => { diff --git a/lib/hooks.js b/lib/hooks.js index cf6ce139..5013c7a2 100644 --- a/lib/hooks.js +++ b/lib/hooks.js @@ -32,6 +32,7 @@ const AsyncSeriesWaterfallHook = require('tapable').AsyncSeriesWaterfallHook; styles: Array, meta: Array, }, + publicPath: string, outputName: string, plugin: HtmlWebpackPlugin }>, diff --git a/typings.d.ts b/typings.d.ts index ff982069..3bfde0e0 100644 --- a/typings.d.ts +++ b/typings.d.ts @@ -209,6 +209,7 @@ declare namespace HtmlWebpackPlugin { styles: HtmlTagObject[]; meta: HtmlTagObject[]; }; + publicPath: string, outputName: string; plugin: HtmlWebpackPlugin; }>;