some more tweaking for assets

This commit is contained in:
2023-12-19 13:39:36 +01:00
parent d44d016357
commit 6ca338fac4
2 changed files with 9 additions and 1 deletions

View File

@ -18,7 +18,6 @@
"id": "toposWebApp", "id": "toposWebApp",
"theme_color": "#ffffff", "theme_color": "#ffffff",
"background_color": "#ffffff", "background_color": "#ffffff",
"scope": "/",
"description": "Topos is a web based live coding platform", "description": "Topos is a web based live coding platform",
"screenshots": [ "screenshots": [
{ {

View File

@ -53,6 +53,14 @@ export default defineConfig(({ command, mode, ssrBuild }) => {
port: 8000, port: 8000,
strictPort: true, strictPort: true,
}, },
build: {
outDir: "dist",
emptyOutDir: true,
cssCodeSplit: true,
cssMinify: true,
minify: true,
publicDir: "favicon",
}
}; };
} else { } else {
return { return {
@ -64,6 +72,7 @@ export default defineConfig(({ command, mode, ssrBuild }) => {
cssCodeSplit: true, cssCodeSplit: true,
cssMinify: true, cssMinify: true,
minify: true, minify: true,
publicDir: "favicon",
}, },
}; };
} }