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

filtered out excluded entryPoint files when pack into firefox source zip #574

Open
honwhy opened this issue Mar 27, 2024 · 1 comment
Open
Labels
feature good first issue Want to contribute to WXT? This is a good place to start

Comments

@honwhy
Copy link

honwhy commented Mar 27, 2024

filtered out excluded entryPoint files when pack into firefox source zip

for example, When define content script with exclude['firefox'], I don't want this content script to show within the zip file

Is your feature request related to a bug?

"N/A"

What are the alternatives?

alternatives as I think of, maintain another git branch and remove those files shall not show within zip file at the end.

Additional context

use wxt version 0.17.7

@honwhy honwhy added the feature label Mar 27, 2024
@aklinker1
Copy link
Collaborator

Good catch. I'll look into adding support.

In the meantime, you can add those entrypoints to zip.excludeSources.

@aklinker1 aklinker1 added the good first issue Want to contribute to WXT? This is a good place to start label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature good first issue Want to contribute to WXT? This is a good place to start
Projects
None yet
Development

No branches or pull requests

2 participants