Moved all dist code to one folder
41
src/static/client/dist/assets/index-Cun74Xi8.js
vendored
43
src/static/client/dist/client.html
vendored
@@ -1,43 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="icon" href="/static/client/dist/img/Logo-2-128x128.png">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>WGDashboard Client</title>
|
||||
<style>
|
||||
*{
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
}
|
||||
#preloader{
|
||||
width: 100vw; height: 100vh; display: flex
|
||||
}
|
||||
#preloader_placeholder{
|
||||
width: 50px; height: 50px; background-color: #000; margin: auto;
|
||||
animation: 3s ease-in-out fadeInPreloader infinite;
|
||||
}
|
||||
@keyframes fadeInPreloader {
|
||||
0%{
|
||||
opacity: 0;
|
||||
}
|
||||
50%{
|
||||
opacity: 1;
|
||||
}
|
||||
100%{
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script type="module" crossorigin src="/static/client/dist/assets/index-Cun74Xi8.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/static/client/dist/assets/index-tn8r-uDQ.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<div id="preloader">
|
||||
<div id="preloader_placeholder">
|
||||
<img style="width: 100%" src="/static/client/dist/img/Logo-2-128x128.png" alt="WGDashboard Client" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
src/static/client/dist/img/Logo-1-128x128.png
vendored
Before Width: | Height: | Size: 12 KiB |
BIN
src/static/client/dist/img/Logo-1-256x256.png
vendored
Before Width: | Height: | Size: 35 KiB |
BIN
src/static/client/dist/img/Logo-1-384x384.png
vendored
Before Width: | Height: | Size: 70 KiB |
BIN
src/static/client/dist/img/Logo-1-512x512.png
vendored
Before Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 135 KiB |
BIN
src/static/client/dist/img/Logo-2-128x128.png
vendored
Before Width: | Height: | Size: 12 KiB |
BIN
src/static/client/dist/img/Logo-2-256x256.png
vendored
Before Width: | Height: | Size: 33 KiB |
BIN
src/static/client/dist/img/Logo-2-384x384.png
vendored
Before Width: | Height: | Size: 66 KiB |
BIN
src/static/client/dist/img/Logo-2-512x512.png
vendored
Before Width: | Height: | Size: 124 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 126 KiB |
@@ -5,7 +5,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"build": "vite build --emptyOutDir",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@@ -18,7 +18,6 @@ export default defineConfig({
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||
@@ -30,5 +29,16 @@ export default defineConfig({
|
||||
},
|
||||
host: '0.0.0.0'
|
||||
},
|
||||
base: '/static/client/dist'
|
||||
build: {
|
||||
target: "es2022",
|
||||
outDir: '../dist/WGDashboardClient',
|
||||
rollupOptions: {
|
||||
output: {
|
||||
entryFileNames: `assets/[name]-[hash].js`,
|
||||
chunkFileNames: `assets/[name]-[hash].js`,
|
||||
assetFileNames: `assets/[name]-[hash].[ext]`
|
||||
}
|
||||
}
|
||||
},
|
||||
base: '/static/dist/WGDashboardClient'
|
||||
})
|
||||
|