OpChan/app/vite.config.ts
Danish Arora cca6299eb5
feat: library (#26)
* chore: move to /app

* chore: setup workspace

* chore: move lib

* wip

* fix: build and memory leak

* fix: app content hydration for message manager

* fix: non-ens wallets engagement, syncing hydration

* chore: improvements

* chore: IdentityContext

* chore: time range for sds store query to 1 month

* chore: remove client prop

* remove env logs

* wip

* FIX HYDRATION

* fix: message signing

* chore: rename providers

* fix: hydration interface

* state consistentcy

* fix: ens

* chore: minimal docs

* chore: update readme

* local build
2025-09-25 21:52:40 +05:30

25 lines
478 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import path from 'path';
// https://vitejs.dev/config/
export default defineConfig(() => ({
server: {
host: '::',
port: 8080,
},
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
buffer: 'buffer',
},
},
optimizeDeps: {
include: ['buffer', '@opchan/core', '@opchan/hooks'],
},
build: {
target: 'es2022',
},
}));