-
-
Notifications
You must be signed in to change notification settings - Fork 397
Open
Description
Feature Request
It would be nice if the build system substituted the path of the script in the injectScript
call as follows.
// main-injected.ts
export default defineUnlistedScript(/* ... */);
// isolated.content.ts
import mainInjected from "./main-injected";
export default defineContentScript({
matches: ["https://example.net/*"],
async main() {
await injectScript(mainInjected);
},
});
Thanks!
Is your feature request related to a bug?
N/A
What are the alternatives?
Keeping things as-is.
Additional context
N/A
Metadata
Metadata
Assignees
Labels
No labels