Closed ElvisKang closed 6 years ago
Thanks for this PR but as explained in this comment you can already ignore/disable the publicPath via the publicPath
option to the plugin constructor.
I've added an example to the publicPath test to show that this works:
plugins: [
new HtmlWebpackPlugin(),
new HtmlWebpackIncludeAssetsPlugin(
{ assets: 'local-with-public-path.js', append: false, publicPath: true }
),
new HtmlWebpackIncludeAssetsPlugin(
{ assets: ['local-without-public-path.js', 'http://www.foo.com/foobar.js'], append: false, publicPath: false }
)
]
27