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({
|
||||
@@ -20,4 +21,5 @@ export default defineConfig({
|
||||
allow: [path.resolve(__dirname)],
|
||||
},
|
||||
},
|
||||
define: defineEnv,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user