-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3177183
commit c1d1fc2
Showing
7 changed files
with
21 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
// import "@webcomponents/webcomponentsjs/webcomponents-bundle.js"; | ||
import "@webcomponents/webcomponentsjs/webcomponents-bundle.js"; | ||
import App from "./App.svelte"; | ||
// import * as bg from "../background/main"; | ||
import * as browser from "webextension-polyfill"; | ||
|
||
// customElements.define("my-element", App); | ||
const moduleLoader = Promise.resolve(true); | ||
|
||
new App({ | ||
target: document.getElementById("app"), | ||
}); | ||
moduleLoader.then((res) => { | ||
browser.storage.sync.get("options").then((res) => { | ||
new App({ | ||
target: document.getElementById("app"), | ||
}); | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
/// <reference types="svelte" /> | ||
/// <reference types="vite/client" /> | ||
/// <reference types="@samrum/vite-plugin-web-extension/client" /> | ||
|
||
declare const APP_TYPE: { TYPE: string } | ||
/// <reference types="@samrum/vite-plugin-web-extension/client" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters