🧩 Plasmo Developers�PD
🧩 Plasmo Developers3y ago
4 replies
Andy

Invalid value for 'content_scripts[0].matches[0]': Empty path. Could not load manifest. Please help!

I was in dev mode

editing the contents/test_leetcode.tsx file

import type { PlasmoContentScript } from "plasmo"

export const config: PlasmoContentScript = {
matches: ["https://leetcode.com"]
}

window.addEventListener("load", () => {
console.log(
"Peekaboo! im testing"
)
//is this valid? i think so

// document.body.style.background = "#1A202C"
})

I uncomment the above code, and it broke the extension, now when I try to load unpacked I can't run the extension, any help is really appreciated!
image.png
Was this page helpful?