Skip to content
New issue

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

[BUG] Content scripts section is not updated in Manifest file for MAIN World #892

Closed
2 of 3 tasks
sudheersan opened this issue Feb 15, 2024 · 1 comment
Closed
2 of 3 tasks
Labels
bug Something isn't working

Comments

@sudheersan
Copy link

sudheersan commented Feb 15, 2024

What happened?

Plasmo Version : 0.84.2

Add below code in contents/sample.ts
`import type { PlasmoCSConfig } from 'plasmo';

export const config: PlasmoCSConfig = {
matches: ['https:///'],
world: 'MAIN',
run_at: 'document_start',
};`

Ran below command
pnpm dev or pnpm build

sample.js is not added in manifest.json under content_scripts section. If I remove world:'MAIN', it's working fine.

Version

Latest

What OS are you seeing the problem on?

MacOSX

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

(OPTIONAL) Contribution

  • I would like to fix this BUG via a PR

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.
@sudheersan sudheersan added the bug Something isn't working label Feb 15, 2024
@sudheersan sudheersan changed the title [BUG] Manifest file not updating content scripts section [BUG] Content scripts section is not updated in Manifest file for MAIN World Feb 15, 2024
@sudheersan
Copy link
Author

Even-though it's not adding in the manifest, functionality is working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant