mirror of
https://github.com/aljazceru/goose.git
synced 2026-01-31 04:04:27 +01:00
Co-authored-by: Nahiyan Khan <nahiyan@squareup.com> Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Co-authored-by: Lily Delalande <119957291+lily-de@users.noreply.github.com> Co-authored-by: Spence <spencrmartin@gmail.com> Co-authored-by: spencrmartin <spencermartin@squareup.com> Co-authored-by: Judson Stephenson <Jud@users.noreply.github.com> Co-authored-by: Max Novich <mnovich@squareup.com> Co-authored-by: Best Codes <106822363+The-Best-Codes@users.noreply.github.com> Co-authored-by: caroline-a-mckenzie <cmckenzie@squareup.com> Co-authored-by: Michael Neale <michael.neale@gmail.com>
18 lines
330 B
TypeScript
18 lines
330 B
TypeScript
import { defineConfig } from 'vite';
|
|
|
|
// https://vitejs.dev/config
|
|
export default defineConfig({
|
|
build: {
|
|
ssr: true,
|
|
outDir: '.vite/build',
|
|
rollupOptions: {
|
|
input: 'src/preload.ts',
|
|
output: {
|
|
format: 'cjs',
|
|
entryFileNames: 'preload.js'
|
|
},
|
|
external: ['electron']
|
|
}
|
|
}
|
|
});
|