Skip to content

Commit

Permalink
build: Fix copying links to outDir
Browse files Browse the repository at this point in the history
  • Loading branch information
lauriro committed Jun 16, 2024
1 parent 7178d3d commit c9b1fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function html(opts, next) {
el.setAttribute("_min", el[el.src ? "src" : el.href ? "href" : "_min"] = el._min = getSrc(el.getAttribute("min") || el))
})

$$("[src]:not([src^='data:']),[href]:not(base,[href^='data:'])").forEach(function(el) {
$$("[src]:not([src^='data:']),[href]:not(a,base,[href^='data:'])").forEach(function(el) {
if (el._txt) return
cpOut(el)
})
Expand Down

0 comments on commit c9b1fc5

Please sign in to comment.