We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
content_scripts
css
Hey there, my extension was just rejected because it had a content_scripts.css field with a hallucinated file in there.
content_scripts.css
Input:
"content_scripts": [ { "matches": [ "https://google.com/search*", "https://www.google.com/search*", "https://google.com/", "https://www.google.com/" ], "js": ["src/content/index.ts"] } ]
Output:
"content_scripts": [ { "matches": [ "https://google.com/search*", "https://www.google.com/search*", "https://google.com/", "https://www.google.com/" ], "js": [ "content_scripts/content-0.js" ], "css": [ "content_scripts/content-0.css" ] } ],
Workaround:
jq '.content_scripts |= map_values(del(.css))' manifest.json > tmp.json && mv tmp.json manifest.json
The text was updated successfully, but these errors were encountered:
got it, taking a look asap
Sorry, something went wrong.
Fix content_scripts declaration adding extraneous css
470a515
Fix #213
c275cf2
7b46974
Successfully merging a pull request may close this issue.
Hey there, my extension was just rejected because it had a
content_scripts.css
field with a hallucinated file in there.Input:
Output:
Workaround:
The text was updated successfully, but these errors were encountered: