Created by: ItalyPaleAle
The InlineChunkHtmlPlugin
plugin didn't work when the publicPath
variable is empty or unset (e.g. when I want to use relative URLs).
Before:
- If
publicPath
was unset or wasn't a string, webpack would throw an error - If
publicPath
was an empty string, the plugin would fail to inline a chunk
Now: the plugin behaves as expected even with empty or unset publicPath
.