Fails to load source maps

Plasmo version: 0.83.0 I also tried removing .plasmo/, didn't help I'm on Edge on Windows 10
No description
5 Replies
lab
lab•11mo ago
Hmmm weird.... If you switch to an older version, does sourcemap works or is it still broken?
Avi
Avi•11mo ago
I tested up to 0.77.1 (<=0.77.0 didn't support Svelte 4) Any version from 0.77.1 and onwards don't seem to support source maps in CSUIs, at least in Svelte CSUIs
caleb
caleb•8mo ago
I think i figured this out, or at least this is what works for me You have to add *.map to resources <all_urls> in production builds otherwise the devtools fails to load them
Arcane
Arcane•8mo ago
@caleb has reached level 2. GG!
caleb
caleb•8mo ago
"web_accessible_resources": [
{
"resources": [
"assets/*",
"*.map"
],
"matches": [
"<all_urls>"
]
},
"web_accessible_resources": [
{
"resources": [
"assets/*",
"*.map"
],
"matches": [
"<all_urls>"
]
},
Want results from more Discord servers?
Add your server