1
0
mirror of https://github.com/lumehq/lume.git synced 2025-03-19 14:21:45 +01:00
lume/apps/desktop2/vite.config.ts

26 lines
575 B
TypeScript
Raw Normal View History

2024-02-11 09:30:18 +07:00
import { TanStackRouterVite } from "@tanstack/router-vite-plugin";
import react from "@vitejs/plugin-react-swc";
import { defineConfig } from "vite";
import topLevelAwait from "vite-plugin-top-level-await";
import viteTsconfigPaths from "vite-tsconfig-paths";
export default defineConfig({
plugins: [
react(),
viteTsconfigPaths(),
topLevelAwait({
promiseExportName: "__tla",
promiseImportName: (i) => `__tla_${i}`,
}),
2024-02-12 09:08:35 +07:00
TanStackRouterVite(),
2024-02-11 09:30:18 +07:00
],
build: {
outDir: "../../dist",
},
server: {
strictPort: true,
port: 3000,
},
clearScreen: false,
});