Update partytown dom check

Look for partytown usage by checking if `script[type*='text/partytown']` is in the dom.
main
Adam Bradley 2 years ago
parent 67c50706a4
commit 6d8476a68d

@ -521,8 +521,10 @@
],
"description": "Partytown is a lazy-loaded library to help relocate resource intensive scripts into a web worker, and off of the main thread.",
"icon": "Partytown.svg",
"js": {
"partytown.lib": ""
"dom": {
"script[type*='text/partytown']": {
"exists": ""
}
},
"oss": true,
"website": "https://partytown.builder.io/"