This change adds an ignore parameter that allows to specify a regex for more fine-grained control over the injected files. If ignore is provided, all candidates for injection will be tested against this regex and ignored if they match.
My usecase: I have a set of web workers in my target directory which must not be loaded from the generated HTML.
This change adds an
ignore
parameter that allows to specify a regex for more fine-grained control over the injected files. Ifignore
is provided, all candidates for injection will be tested against this regex and ignored if they match.My usecase: I have a set of web workers in my target directory which must not be loaded from the generated HTML.