chocola 1.1.19 → 1.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/pipeline.js +1 -1
- package/package.json +1 -1
package/compiler/pipeline.js
CHANGED
|
@@ -131,7 +131,7 @@ export async function copyResources(__rootdir, __srcdir, outDirPath) {
|
|
|
131
131
|
const newElements = Array.from(newDoc.window.document.querySelectorAll("*"));
|
|
132
132
|
|
|
133
133
|
for (const el of newElements) {
|
|
134
|
-
if (el.
|
|
134
|
+
if (el.tagName === "LINK" || el.tagName === "SCRIPT") continue;
|
|
135
135
|
|
|
136
136
|
const src = el.getAttribute("src") || el.getAttribute("href");
|
|
137
137
|
|