setup electron app for production
This commit is contained in:
@@ -2,6 +2,7 @@ import path from "path"
|
||||
import tailwindcss from "@tailwindcss/vite"
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { defineEnv } from './vite.env';
|
||||
|
||||
// https://vitejs.dev/config
|
||||
export default defineConfig({
|
||||
@@ -11,4 +12,5 @@ export default defineConfig({
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
define: defineEnv,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user