chore: fix build
6138
apps/desktop/pnpm-lock.yaml
generated
BIN
apps/desktop/public/anime.jpg
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
apps/desktop/public/art.jpg
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
apps/desktop/public/clapping_hands.png
Normal file
|
After Width: | Height: | Size: 398 KiB |
BIN
apps/desktop/public/clown_face.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
apps/desktop/public/crying_face.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
apps/desktop/public/face_with_open_mouth.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
apps/desktop/public/face_with_tongue.png
Normal file
|
After Width: | Height: | Size: 986 KiB |
BIN
apps/desktop/public/fallback-image.jpg
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
apps/desktop/public/gaming.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
apps/desktop/public/ghost.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
apps/desktop/public/icon.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
apps/desktop/public/movie.jpg
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
apps/desktop/public/music.jpg
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
apps/desktop/public/nsfw.jpg
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
apps/desktop/public/photography.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
apps/desktop/public/technology.jpg
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
apps/desktop/public/zap.png
Normal file
|
After Width: | Height: | Size: 341 KiB |
@@ -1,18 +1,19 @@
|
||||
import react from '@vitejs/plugin-react-swc';
|
||||
import { defineConfig } from 'vite';
|
||||
import viteTsconfigPaths from 'vite-tsconfig-paths';
|
||||
import react from "@vitejs/plugin-react-swc";
|
||||
import { defineConfig } from "vite";
|
||||
import viteTsconfigPaths from "vite-tsconfig-paths";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react(), viteTsconfigPaths()],
|
||||
envPrefix: ['VITE_', 'TAURI_'],
|
||||
build: {
|
||||
target: process.env.TAURI_PLATFORM === 'windows' ? 'chrome105' : 'safari13',
|
||||
minify: !process.env.TAURI_DEBUG ? 'esbuild' : false,
|
||||
sourcemap: !!process.env.TAURI_DEBUG,
|
||||
},
|
||||
server: {
|
||||
strictPort: true,
|
||||
port: 3000,
|
||||
},
|
||||
clearScreen: false,
|
||||
plugins: [react(), viteTsconfigPaths()],
|
||||
envPrefix: ["VITE_", "TAURI_"],
|
||||
build: {
|
||||
target: process.env.TAURI_PLATFORM === "windows" ? "chrome105" : "safari13",
|
||||
minify: !process.env.TAURI_DEBUG ? "esbuild" : false,
|
||||
sourcemap: !!process.env.TAURI_DEBUG,
|
||||
outDir: "../../dist",
|
||||
},
|
||||
server: {
|
||||
strictPort: true,
|
||||
port: 3000,
|
||||
},
|
||||
clearScreen: false,
|
||||
});
|
||||
|
||||