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",
"theme_color": "#ffffff",
"background_color": "#ffffff",
"scope": "/",
"description": "Topos is a web based live coding platform",
"screenshots": [
{

View File

@ -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",
},
};
}