Print message when no entry scripts injected into HTML template
denis-ok opened this issue · 1 comments
denis-ok commented
I've had a situation when entrypoints
parameter contained a slightly incorrect path. I passed an absolute path, but the plugin expects a path relative to the project root. Because of that, collectedEntrypoints
value is an empty array => nothing injected into HTML template.
I think it will be more noticeable that something is wrong if the plugin prints a warning message when a user passes entrypoints
param but no entry points are collected/inserted into HTML template.
Currently, it looks like everything is OK, which isn't true and I've had to debug this issue.