monorepo part 2

This commit is contained in:
Spencer Pogorzelski 2023-08-12 12:23:45 -07:00
parent 2138e02613
commit 6dc4aa8c6b
17 changed files with 165 additions and 66 deletions

10
frontend/src/entry.ts Normal file
View file

@ -0,0 +1,10 @@
import App from "./App.svelte";
const app = new App({
target: document.getElementById("app")!,
});
if (!import.meta.env.VITE_ADRIFT_SINGLEFILE) {
navigator.serviceWorker.register("/sw.js");
}
export default app;