-
-
Notifications
You must be signed in to change notification settings - Fork 442
Open
Labels
contribution welcomegood first issueWant to contribute to WXT? This is a good place to startWant to contribute to WXT? This is a good place to start
Milestone
Description
Before that, I want to run an alternative by you: would it make more sense to add this to
defineContentScript(as an option likecssInjectionMode,matches, etc) instead ofwxt.config.ts?export default defineContentScript({ iffeName: "example", // OR `globalName: string | boolean`, letting people disable the iffe name in the output as well as give it a different name. main() { // ... } })In this version, it would default to
trueand the name would be generated based on the content script name, but in the next major version would could change the default tofalseso a name isn't even generated in the first place.
— Originally posted by @aklinker1 in #1897 (review)
Metadata
Metadata
Assignees
Labels
contribution welcomegood first issueWant to contribute to WXT? This is a good place to startWant to contribute to WXT? This is a good place to start