Closed Cihatata closed 1 year ago
Hmm, interesting. There's a popup.js.map
file, so it should've output a popup.js
file.
Can you set verbose: true
in the plugin's options, and share the entire output from vite build
?
I added popup.js
to manifest.json content_script section and my problem is resolved.
Thank you
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"contentScript.js",
"popup.js"
]
}
],
Huh, ok. I wouldn't recommend doing that, the final output won't be as optimized as it could be. But it shouldn't break anything, so if it works for you, that's fine.
Hi, i have a problem. I want to use popup in my extension. I created popup.html and added scrip tag to popup.html but my code in popup.js did not work. I checked dist directory. I didnt see popup.js why i don't see popup.js in dist ? How can i solve this problem ?
I use v1.4.8
popup.html
popup.js
manifest.json
dist