Unlisted Scripts builds to exclude dependent packages, such as Vue and Element #698
Unanswered
small-carbon
asked this question in
Q&A
Replies: 1 comment
-
In your case, you're telling WXT to not build your content script when you run If you want to exclude bundling a dependency, you need to mark it as "external" in vite. But I don't know why you would need to do this.... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just defineUnlistedScript alone to exclude. Please tell me how to solve this problem. such as:
![image](https://private-user-images.githubusercontent.com/887531/335927426-495bccb9-c152-49ff-ade6-cc74c1bb8ac8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1ODI4ODEsIm5iZiI6MTcyMDU4MjU4MSwicGF0aCI6Ii84ODc1MzEvMzM1OTI3NDI2LTQ5NWJjY2I5LWMxNTItNDlmZi1hZGU2LWNjNzRjMWJiOGFjOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMFQwMzM2MjFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zMjc3MDUyMWFjOWQ1ODgxOTFhM2RmNzhhMTY4ZTU0MmNmODk4NzE3ZWIxZmY3NjZkMmRmY2ZkNDhjYTFiZGIyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.O-x7ZajFP51rW4s1S-9nWmQeqzMPZV0MBlvMwuiVYsk)
Beta Was this translation helpful? Give feedback.
All reactions