Skip to content

Commit

Permalink
some more tweaking for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Dec 19, 2023
1 parent d44d016 commit 6ca338f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"id": "toposWebApp",
"theme_color": "#ffffff",
"background_color": "#ffffff",
"scope": "/",
"description": "Topos is a web based live coding platform",
"screenshots": [
{
Expand Down
9 changes: 9 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -64,6 +72,7 @@ export default defineConfig(({ command, mode, ssrBuild }) => {
cssCodeSplit: true,
cssMinify: true,
minify: true,
publicDir: "favicon",
},
};
}
Expand Down

0 comments on commit 6ca338f

Please sign in to comment.