mirror of
https://github.com/YuzuZensai/VRC-Circle.git
synced 2026-09-13 19:08:52 +00:00
✨ feat: Initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import { resolve } from "node:path";
|
||||
import { defineConfig, externalizeDepsPlugin } from "electron-vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
export default defineConfig({
|
||||
main: {
|
||||
plugins: [externalizeDepsPlugin()],
|
||||
build: { rollupOptions: { input: resolve("src/main/index.ts") } },
|
||||
},
|
||||
preload: {
|
||||
plugins: [externalizeDepsPlugin()],
|
||||
build: { rollupOptions: { input: resolve("src/preload/index.ts") } },
|
||||
},
|
||||
renderer: {
|
||||
root: "src/renderer",
|
||||
plugins: [react(), tailwindcss()],
|
||||
resolve: {
|
||||
alias: { "@renderer": resolve("src/renderer/src") },
|
||||
},
|
||||
build: {
|
||||
rollupOptions: { input: resolve("src/renderer/index.html") },
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user