PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.03k stars 346 forks source link

[BUG] The Svelte example prompts a warning error #876

Closed 0x7a7a closed 5 months ago

0x7a7a commented 7 months ago

What happened?

When I run the official Svelte example, both the devtool and chrome://extensions pages prompt a warning:

image image

This error doesn't seem to affect the program at present, but it interferes with my development. When viewing the chrome://extensions page, it always makes me believe that an error has occurred.

Is there a way to remove this warning error?

Version

Latest

What OS are you seeing the problem on?

MacOSX

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

(OPTIONAL) Contribution

Code of Conduct

anotheropensourcefan commented 5 months ago

In your .Svelte component, you may need to include in the <script context="module"> section an exported function like getInlineAnchor returning HTML element(s) in addition to the config

`

`