Open axelfontaine opened 3 months ago
There isn't a good general way to exclude these from being located. The only alternative is to use a non-partial patching method under the routing, ie:
locator.getFullPathExact("htmx-ext-response-targets", "response-targets.js");
That should resolve to the root file. Is changing the routing logic to use that instead of locator.getFullPath
an option?
Not in my case, as I rely on Ktor's integration of Webjars and don't consume the locator dependency directly.
org.webjars.npm:htmx-ext-response-targets:2.0.0
contains tworesponse-targets.js
files. One in the root and one in thetest
directory.Either the Webjar locator or the webjar building process should ignore that test directory.