Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import react from '@vitejs/plugin-react-swc'
|
||||
import path from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
export default defineConfig(() => ({
|
||||
plugins: [react({ tsDecorators: true })],
|
||||
root: path.join(__dirname, 'src/client'),
|
||||
publicDir: path.join(__dirname, 'public'),
|
||||
server: {
|
||||
port: 5000,
|
||||
host: '0.0.0.0', // Expose the server to the network
|
||||
},
|
||||
optimizeDeps: {
|
||||
exclude: ['assets'],
|
||||
},
|
||||
}))
|
||||
Reference in New Issue
Block a user