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

[RFC] plasmo.config.ts #162

Open
3 tasks done
louisgv opened this issue Aug 31, 2022 · 6 comments
Open
3 tasks done

[RFC] plasmo.config.ts #162

louisgv opened this issue Aug 31, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@louisgv
Copy link
Contributor

louisgv commented Aug 31, 2022

How do you envision this feature/change to look/work like?

Support a typed configuration file, mainly for manifest override, and other cool stuffs (?).

What is the purpose of this change/feature? Why?

Working with the manifest override (or manifest in general) SUCKS BALLS!?

(OPTIONAL) Example implementations

No response

(OPTIONAL) Contact Details

No response

Verify canary release

  • I verified that the issue exists in plasmo canary release

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.
@louisgv louisgv added the enhancement New feature or request label Aug 31, 2022
@louisgv louisgv self-assigned this Aug 31, 2022
@Kaan0200
Copy link

This would be really helpful when using plasmo within the nx monorepo. The nx monorepo keeps a single package.json at the repo-root to keep packages and versions aligned, along with caching various aspects of the repo.

Having the plasmo manifest overrides living in a different file would allow me to integrate plasmo into an nx monorepo a bit more effectively.

@louisgv louisgv pinned this issue Sep 26, 2022
@louisgv louisgv unpinned this issue Oct 4, 2022
@louisgv louisgv pinned this issue Oct 9, 2022
@louisgv louisgv unpinned this issue Oct 19, 2022
@pd4d10
Copy link
Contributor

pd4d10 commented Dec 31, 2022

Override entry file paths

Looking forward to this feature. This would also make #356 more flexible, to support any extension the users want.

@louisgv
Copy link
Contributor Author

louisgv commented Jan 27, 2023

@louisgv
Copy link
Contributor Author

louisgv commented May 20, 2023

@louisgv
Copy link
Contributor Author

louisgv commented May 20, 2023

@aiktb
Copy link

aiktb commented Jun 22, 2024

Would very much like to pull the plasmo-related stuff out of package.json 🙏

  1. package.json doesn't support code comments
  2. plasmo.config.ts allows developers to use the chrome.runtime.ManifestV3 type in @types/chrome for faster error detection. It is also possible to export the type of a custom command to use it in service_worker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants