mirror of
https://github.com/FranP-code/Reflecto.git
synced 2025-10-13 00:43:31 +00:00
31 lines
713 B
TypeScript
31 lines
713 B
TypeScript
import { VitePWA } from "vite-plugin-pwa";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import { tanstackRouter } from "@tanstack/router-plugin/vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import path from "node:path";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
tailwindcss(),
|
|
tanstackRouter({}),
|
|
react(),
|
|
VitePWA({
|
|
registerType: "autoUpdate",
|
|
manifest: {
|
|
name: "Reflecto",
|
|
short_name: "Reflecto",
|
|
description: "Reflecto - PWA Application",
|
|
theme_color: "#0c0c0c",
|
|
},
|
|
pwaAssets: { disabled: false, config: true },
|
|
devOptions: { enabled: true },
|
|
}),
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
});
|