commit d6c92ea0ad95c0b640ac9c7df48197412c7518e3
Author: haritabh-z01 <haritabh.z01+github@gmail.com>
Date: Thu Aug 21 23:27:44 2025 +0530
fix: unpacking amical/smart-whisper dep
commit 87819819bb12c07b94f5b52cbb0ea42a452c16e2
Author: haritabh-z01 <haritabh.z01+github@gmail.com>
Date: Thu Aug 21 17:41:02 2025 +0530
fix: unpacking of smart-whisper
commit 81cec166834606cbff2cdd2e750dcc1fb769d4f3
Author: haritabh-z01 <haritabh.z01+github@gmail.com>
Date: Thu Aug 21 16:08:39 2025 +0530
chore: re-enable mac builds
commit f13069c1f350fe06c69aa8f16af41f983f34131e
Author: haritabh-z01 <haritabh.z01+github@gmail.com>
Date: Thu Aug 21 13:06:26 2025 +0530
feat: add smart-whisper package with updated build configuration
commit a24e06856cc595f5e6c5d914090531716d208d2a
Author: haritabh-z01 <haritabh.z01+github@gmail.com>
Date: Thu Aug 21 11:37:25 2025 +0530
chore: bump smart-whisper ver
commit 98f84b6f89c873370f1bb356f11c97dab0185ab7
Author: haritabh-z01 <haritabh.z01+github@gmail.com>
Date: Wed Aug 20 08:59:55 2025 +0530
feat: release wf updates for win builds
commit a85825d362f2a27fdef7b49533a9139aea4785b7
Author: haritabh-z01 <haritabh.z01+github@gmail.com>
Date: Wed Aug 20 08:36:13 2025 +0530
feat: add windows support basics
50 lines
1.1 KiB
TypeScript
50 lines
1.1 KiB
TypeScript
import { defineConfig } from "vite";
|
|
import { resolve } from "path";
|
|
|
|
// https://vitejs.dev/config
|
|
export default defineConfig({
|
|
build: {
|
|
rollupOptions: {
|
|
input: {
|
|
main: resolve(__dirname, "src/main/main.ts"),
|
|
"whisper-worker": resolve(
|
|
__dirname,
|
|
"src/pipeline/providers/transcription/whisper-worker.ts",
|
|
),
|
|
"whisper-worker-fork": resolve(
|
|
__dirname,
|
|
"src/pipeline/providers/transcription/whisper-worker-fork.ts",
|
|
),
|
|
},
|
|
output: {
|
|
entryFileNames: "[name].js",
|
|
},
|
|
external: [
|
|
"@amical/smart-whisper",
|
|
"@libsql/client",
|
|
"@libsql/darwin-arm64",
|
|
"@libsql/darwin-x64",
|
|
"@libsql/linux-x64-gnu",
|
|
"@libsql/linux-x64-musl",
|
|
"@libsql/win32-x64-msvc",
|
|
"libsql",
|
|
"onnxruntime-node",
|
|
/^node:/,
|
|
/^electron$/,
|
|
],
|
|
},
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": resolve(__dirname, "src"),
|
|
},
|
|
},
|
|
optimizeDeps: {
|
|
exclude: [
|
|
"better-sqlite3",
|
|
"smart-whisper",
|
|
"drizzle-orm",
|
|
"@libsql/client",
|
|
],
|
|
},
|
|
});
|