* chore: desktop dir * chore: desktop src and configs * chore: auto-fix linting and formatting issues * fix: path * fix: path * fix: path * fix: path * fix * fix * fix * test * test * test * test * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix --------- Co-authored-by: DIYgod <8266075+DIYgod@users.noreply.github.com>
13 lines
361 B
TypeScript
13 lines
361 B
TypeScript
import { resolve } from "node:path"
|
|
|
|
import { defineConfig } from "vite"
|
|
|
|
import config from "./configs/vite.electron-render.config"
|
|
import compressAndFingerprintPlugin from "./plugins/vite/compress"
|
|
|
|
export default defineConfig({
|
|
...config,
|
|
base: "./",
|
|
plugins: [...config.plugins, compressAndFingerprintPlugin(resolve(import.meta.dirname, "dist"))],
|
|
})
|