🧩 Plasmo Developers�PD
🧩 Plasmo Developers3y ago
5 replies
Lexa

Plasmo does not compile a tsx file.

Hello, I'm developing an extension with Plasmo and I'm facing an issue during the compilation of a tsx file. For more context, my content.ts file creates an iframe element and injects it into the HTML page where the extension runs. Initially, I created a frame.html file that was successfully injected as an iframe on the page. The problem is that I want to replace this frame.html file with frame.tsx, but this file is not being compiled. As a result, I'm getting the following error message: 'Denying load of chrome-extension://bklpniikecdnikfcpppnnjooffaaokbl/frame.tsx. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.'
Was this page helpful?