feat: Add new emoji assets and an UpdateBanner component.
Some checks failed
Build and Release / build-and-release (push) Failing after 3m28s

This commit is contained in:
Bryan1029384756
2026-02-13 12:20:40 -06:00
parent 63d4208933
commit fe869a3222
3855 changed files with 10226 additions and 15543 deletions

View File

@@ -0,0 +1,24 @@
import react from '@vitejs/plugin-react';
import path from 'path';
/**
* Returns a base Vite config for apps that consume the shared package.
* Apps can spread this into their own defineConfig and override as needed.
*/
export function createSharedConfig({ root, envDir, base = '/', outDir = 'dist' } = {}) {
return {
plugins: [react()],
base,
envDir,
resolve: {
dedupe: ['react', 'react-dom'],
alias: {
'@shared': path.resolve(root || process.cwd(), 'node_modules/@discord-clone/shared/src'),
},
},
build: {
outDir,
chunkSizeWarningLimit: 1000,
},
};
}