reactlith
Version:
Create a full-stack, typesafe, rock-solid React monorepo
26 lines (24 loc) • 573 B
text/typescript
import tailwindcss from '@tailwindcss/vite';
import { tanstackStart } from '@tanstack/react-start/plugin/vite';
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
import tsConfigPaths from 'vite-tsconfig-paths';
export default defineConfig({
server: {
port: 3000,
host: '127.0.0.1',
},
plugins: [
tailwindcss(),
tanstackStart({
customViteReactPlugin: true,
target: 'bun',
}),
react({
babel: {
plugins: [['babel-plugin-react-compiler', {}]],
},
}),
tsConfigPaths(),
],
});