diff --git a/manifest.webmanifest b/manifest.webmanifest index 4b45571..0d8fdb0 100644 --- a/manifest.webmanifest +++ b/manifest.webmanifest @@ -18,7 +18,6 @@ "id": "toposWebApp", "theme_color": "#ffffff", "background_color": "#ffffff", - "scope": "/", "description": "Topos is a web based live coding platform", "screenshots": [ { diff --git a/vite.config.js b/vite.config.js index 262f0f4..ece1292 100644 --- a/vite.config.js +++ b/vite.config.js @@ -53,6 +53,14 @@ export default defineConfig(({ command, mode, ssrBuild }) => { port: 8000, strictPort: true, }, + build: { + outDir: "dist", + emptyOutDir: true, + cssCodeSplit: true, + cssMinify: true, + minify: true, + publicDir: "favicon", + } }; } else { return { @@ -64,6 +72,7 @@ export default defineConfig(({ command, mode, ssrBuild }) => { cssCodeSplit: true, cssMinify: true, minify: true, + publicDir: "favicon", }, }; }