Manifest.json includes web_accessible_resources I didn't add

I am having an issue where the web_accessible_resources array includes a resources array with resources I didn't add. This is causing issues with uploading to Edge extension store as the extension is rejected during the validation process. I was able to get rid of one of the resources array by deleting the getStyle function in one of the content UIs but it hasn't worked for the second one. I once had some of these resources in the project but have sice removed them, cleared .plasmo folder and deleted node_modules but no luck whatsoever. Below is my index.tsx PlasmoCSConfig
export const config: PlasmoCSConfig = {
matches: [
"https://*.chatgpt.com/*",
"http://*.chatgpt.com/*",
"https://*.deepseek.com/*",
"http://*.deepseek.com/*",
"https://*.claude.ai/*",
"http://*.claude.ai/*",
"https://*.gemini.com/*",
"http://*.gemini.com/*",
"http://gemini.google.com/*",
"https://gemini.google.com/*",
],
all_frames: false
}
export const config: PlasmoCSConfig = {
matches: [
"https://*.chatgpt.com/*",
"http://*.chatgpt.com/*",
"https://*.deepseek.com/*",
"http://*.deepseek.com/*",
"https://*.claude.ai/*",
"http://*.claude.ai/*",
"https://*.gemini.com/*",
"http://*.gemini.com/*",
"http://gemini.google.com/*",
"https://gemini.google.com/*",
],
all_frames: false
}
Below is the web_accessible_resources section of the generated manifest.json
"web_accessible_resources": [
{
"matches": [
"https://*.chatgpt.com/*",
"http://*.chatgpt.com/*",
"https://*.deepseek.com/*",
"http://*.deepseek.com/*",
"https://*.claude.ai/*",
"http://*.claude.ai/*",
"https://*.gemini.com/*",
"http://*.gemini.com/*",
"http://gemini.google.com/*",
"https://gemini.google.com/*"
],
"resources": [
"contents.0f5514bd.css",
"contents.5f512ce2.png"
]
}
]
"web_accessible_resources": [
{
"matches": [
"https://*.chatgpt.com/*",
"http://*.chatgpt.com/*",
"https://*.deepseek.com/*",
"http://*.deepseek.com/*",
"https://*.claude.ai/*",
"http://*.claude.ai/*",
"https://*.gemini.com/*",
"http://*.gemini.com/*",
"http://gemini.google.com/*",
"https://gemini.google.com/*"
],
"resources": [
"contents.0f5514bd.css",
"contents.5f512ce2.png"
]
}
]
I did not add any contents.css, contents.scss or contents.png but they appear in the array but not in the generated resources.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?