fix: extension doesn't work after vite bump (#1507)

* fix: extension doesn't work after vite bump
This commit is contained in:
Yun Feng
2024-06-12 05:59:42 -07:00
committed by GitHub
parent 3d951919cb
commit 4beaf2d12a
7 changed files with 6 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ const SidebarContent = ({
<Image
borderRadius="md"
boxSize="2rem"
src={Browser.runtime.getURL('assets/icon128.png')}
src={Browser.runtime.getURL('icon128.png')}
alt="RRWeb Logo"
/>
</Link>

View File

@@ -10,9 +10,9 @@
}
],
"icons": {
"16": "assets/icon16.png",
"48": "assets/icon48.png",
"128": "assets/icon128.png"
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
},
"permissions": ["activeTab", "tabs", "storage", "unlimitedStorage"]
},

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB