some more tweaking for assets
This commit is contained in:
@ -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": [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user