comparison love/epi/vite.config.ts @ 38:cf9caa4abc3e

[Love] FE and BE. Can chat and render images. Also created MCP for powerpoint generations.
author MrJuneJune <me@mrjunejune.com>
date Mon, 01 Dec 2025 20:35:56 -0800
parents
children
comparison
equal deleted inserted replaced
37:fb9bcd3145cb 38:cf9caa4abc3e
1 import { defineConfig } from 'vite';
2 import react from '@vitejs/plugin-react';
3 import path from 'path';
4 import tailwindcss from '@tailwindcss/vite';
5 import { tanstackRouter } from '@tanstack/router-plugin/vite';
6
7 export default defineConfig({
8 plugins: [
9 tanstackRouter({ target: 'react', autoCodeSplitting: true }),
10 tailwindcss(),
11 react({
12 babel: {
13 plugins: [
14 ['babel-plugin-react-compiler'],
15 ],
16 },
17 }),
18 ],
19 resolve: {
20 alias: {
21 '@': path.resolve(__dirname, './src'),
22 },
23 },
24 });