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.
@@ -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.hasAttribute("rel")) continue;
134
+ if (el.tagName === "LINK" || el.tagName === "SCRIPT") continue;
135
135
 
136
136
  const src = el.getAttribute("src") || el.getAttribute("href");
137
137
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chocola",
3
- "version": "1.1.19",
3
+ "version": "1.1.20",
4
4
  "description": "Chocola pipeline for web apps.",
5
5
  "keywords": [
6
6
  "web",