feat: Add new emoji assets and an UpdateBanner component.
Some checks failed
Build and Release / build-and-release (push) Failing after 3m28s
Some checks failed
Build and Release / build-and-release (push) Failing after 3m28s
This commit is contained in:
19
apps/electron/vite.config.js
Normal file
19
apps/electron/vite.config.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import path from 'path';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
base: './',
|
||||
envDir: '../../', // Pick up .env.local from project root (for VITE_CONVEX_URL)
|
||||
resolve: {
|
||||
dedupe: ['react', 'react-dom'],
|
||||
alias: {
|
||||
'@discord-clone/shared': path.resolve(__dirname, '../../packages/shared'),
|
||||
},
|
||||
},
|
||||
build: {
|
||||
outDir: 'dist-react',
|
||||
chunkSizeWarningLimit: 1000,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user