Closed adibzter closed 1 week ago
This definitely works in a quick test that I just ran. Need more details.
My bad. I have content.ts
and content.tsx
. I thought content.tsx
is relying on content.ts
since in the docs mentioned:
https://docs.plasmo.com/framework/content-scripts-ui#config
Content scripts UI are a subset of content scripts.
Before I close this issue, want to confirm that if we have content files contents/calculate.ts
and contents/calculate.tsx
, Plasmo will only build contents/calculate.ts
?
Thank you
What happened?
This simple code in
content.tsx
is not rendered in the production build. In dev mode, it is rendered as intended.Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution
Code of Conduct