wxt icon indicating copy to clipboard operation
wxt copied to clipboard

filtered out excluded entryPoint files when pack into firefox source zip

Open honwhy opened this issue 1 year ago • 1 comments

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 avatar Mar 27 '24 12:03 honwhy

Good catch. I'll look into adding support.

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

aklinker1 avatar Mar 27 '24 17:03 aklinker1