Den is the private cloud vault for your reminders, calendars and to-dos.
1import { defineConfig } from 'vite';
2import react from '@vitejs/plugin-react';
3import path from "path";
4import tailwindcss from "@tailwindcss/vite";
5import { tanstackRouter } from '@tanstack/router-plugin/vite';
6
7// https://vite.dev/config/
8export default defineConfig({
9 plugins: [
10 tanstackRouter({
11 target: 'react',
12 autoCodeSplitting: true,
13 }),
14 tailwindcss(),
15 react({
16 babel: {
17 plugins: [['babel-plugin-react-compiler']],
18 },
19 }),
20 ],
21 resolve: {
22 alias: {
23 '@': path.resolve(__dirname, './src'),
24 },
25 },
26 server: {
27 allowedHosts: ['host.docker.internal']
28 }
29});