* fix default engine settings * fix conversation & cloudflare transcribe * update arm64/darwin whisper * empty notice for conversations * display user rankings * fix enjoy ai * update whisper.cpp for arm64 darwin to v1.5.4 * upgrade yarn to 4.1.0
30 lines
664 B
TypeScript
30 lines
664 B
TypeScript
import path from "path";
|
|
import react from "@vitejs/plugin-react";
|
|
import { viteStaticCopy } from "vite-plugin-static-copy";
|
|
import { defineConfig } from "vite";
|
|
|
|
// https://vitejs.dev/config
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
viteStaticCopy({
|
|
targets: [
|
|
{
|
|
src: "assets/*",
|
|
dest: "assets",
|
|
},
|
|
],
|
|
}),
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
"@renderer": path.resolve(__dirname, "./src/renderer"),
|
|
"@commands": path.resolve(__dirname, "./src/commands"),
|
|
},
|
|
},
|
|
optimizeDeps: {
|
|
exclude: ["@ffmpeg/ffmpeg", "@ffmpeg/util"],
|
|
}
|
|
});
|