Closed abhigyantrips closed 5 months ago
Man, the lack of support or any form of communication channel for this library is disappointing.
CRXJS is being advertised everywhere as the best way to start building extensions with Vite, and yet every single blog/doc - even the library itself - is extremely outdated. With the fairly large userbase I would've atleast expected a Discord forum where you can easily discuss with authors and other devs but the most I can do here is leave a rant on an issue that will possibly never be resolved. See y'all.
@abhigyantrips the code is unavailable. No way to reproduce it. If nothing changes the issue is gonna be closed.
You mentioned content-script.ts
yet the error is actually about content.ts
Thank you for pointing that out, the error was about src/content.ts
because I'd tried renaming the file to see if that sorted the issue (nope). I apologize for the confusion in the issue, but I can confirm that the manifest.ts
file listed the correct filepath.
It was three weeks ago, though. I've since then shifted the extension to Plasmo which is well-updated and fulfilling my requirements. I was actually able to publish the dang thing!
(Also I'll close this issue since it's now irrelevant.)
Build tool
Vite
Where do you see the problem?
Describe the bug
I'm utilizing CRXJS with Vite and SolidStart. I've described the manifest in the Vite config, and the
background.ts
file is loading normally. The issue is that thecontent-script.ts
file is throwing an error on build.Reproduction
The code is available at https://github.com/abhigyantrips/tab-closer/tree/feat/solidjs-rewrite. All mentioned files are available in
src/
. The error is faced on cloning the project and runningnpm run build
(afternpm install
:P).Logs
System Info
Severity
blocking all usage of RPCE