14 lines
396 B
TypeScript
14 lines
396 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import { VitePWA } from "vite-plugin-pwa";
|
|
import path from "path";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
VitePWA({ registerType: "autoUpdate", manifest: false, includeAssets: ["icons/*.png"] }),
|
|
],
|
|
resolve: { alias: { "@": path.resolve(__dirname, "src") } },
|
|
server: { port: 5174 },
|
|
});
|