Files
Folo/apps/desktop/vite.config.electron-render.ts
T
DIYgodandDIYgod 8b07a9a573 chore: desktop dir (#2924)
* 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>
2025-03-02 17:19:22 +08:00

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"))],
})