Rename ChromeStorageBackend to WebExtensionStorageBackend for cross-browser support
- Rename chrome-storage-backend.ts to web-extension-storage-backend.ts - Update to use globalThis.browser || globalThis.chrome for Firefox/Chrome compatibility - Export both names for backward compatibility - Fix tsc --preserveWatchOutput in web-ui dev script to prevent console clearing This fixes the "browser is not defined" error in Chrome extensions.
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"name": "sitegeist",
|
||||
"path": "../sitegeist"
|
||||
},
|
||||
{
|
||||
"name": "pi-mono",
|
||||
"path": "."
|
||||
},
|
||||
{
|
||||
"name": "mini-lit",
|
||||
"path": "../mini-lit"
|
||||
},
|
||||
{
|
||||
"path": "../sitegeist"
|
||||
}
|
||||
],
|
||||
"settings": {}
|
||||
|
||||
Reference in New Issue
Block a user