mirror of
https://github.com/FranP-code/Reflecto.git
synced 2025-10-13 00:43:31 +00:00
chore: remove PWA plugin and configuration from vite config
This commit is contained in:
@@ -3,27 +3,12 @@ import tailwindcss from "@tailwindcss/vite";
|
|||||||
import { tanstackRouter } from "@tanstack/router-plugin/vite";
|
import { tanstackRouter } from "@tanstack/router-plugin/vite";
|
||||||
import react from "@vitejs/plugin-react";
|
import react from "@vitejs/plugin-react";
|
||||||
import { defineConfig } from "vite";
|
import { defineConfig } from "vite";
|
||||||
import { VitePWA } from "vite-plugin-pwa";
|
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
tailwindcss(),
|
tailwindcss(),
|
||||||
tanstackRouter({}),
|
tanstackRouter({}),
|
||||||
react(),
|
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 },
|
|
||||||
workbox: {
|
|
||||||
maximumFileSizeToCacheInBytes: 3000000,
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
|
|||||||
Reference in New Issue
Block a user