Production and dev build
Hi all, I am having problems with some plasmo components I am using in my content script. For some reason whenever I start the server they dont show, until I console log something into the component. Any help would be appreaciated.
10 Replies
please change here export const config: PlasmoCSConfig = {
matches: ["<all_urls>"],
}
I don't want it to match with all websites just specific urls , isn't that what all_urls do?
tried that and didnt work either
@luka has reached level 1. GG!
I think I found the issue is just weird, content scripts inside folders dont run unles I do some changes directly in the file
@luka Have you had any problems running the build command? I am trying to create a build but none of the content scripts get bundled. I also have them inside folders.
@freakaziod210 I ended up just moving everything to files instead
@luka Thanks. I guess I'll have to do the same. Did you just put them in the
src
dir?Gave +1 Rep to @luka (current:
#27
- 1
)Or did they work inside of the
src/contents
dir?@freakaziod210 put then inside contents dir and should work fine