-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
Allow scripts to not register with manifest.json for MV2 #1428
Comments
Hmm, well unfortunately I don't remember why I did that lol. Feel free to open a PR to remove that check! |
In the meantime, you can just use an unlisted script. If you need context, you can just create it: // entrypoints/my-content-script.content.ts
export default defineUnlistedScript(() => {
const ctx = new ContentScriptContext("my-content-script");
});
There's nothing magic about the
|
Describe the bug
Reproduction
should allow scripts to not register with manifest.json for MV2
It's ok it doesn't use the MV3 specific runtime features
wxt/packages/wxt/src/core/utils/manifest.ts
Line 416 in 30b8ba4
Steps to reproduce
runtime
in MV2System Info
Used Package Manager
bun
Validations
The text was updated successfully, but these errors were encountered: