PlasmoHQ / plasmo

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

[BUG] CSUI in content folder are not loaded, only content.tsx works #906

Closed graphee-gabriel closed 7 months ago

graphee-gabriel commented 7 months ago

What happened?

Hello,

I'm using plasmo for the first time, maybe I'm missing something but: If I use the example from the documentation by creating a simple content.tsx, it all works fine, I see the button show in the top left corner of the screen as an overlay.

But then if I move this file in the content folder such as content/my-csui.tsx the CSUI does not load. I've tried every possible reload & refresh, it is simply ignored, even by the hot reload (edits do not trigger hot reload if the .tsx is in the content folder)

What is strange is that my CS content/hello.ts is loaded and works.

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

graphee-gabriel commented 7 months ago

My bad, the folder name should have been contents not content. How shameful 😂.