xiongzhu 2 anos atrás
pai
commit
95af602a16
1 arquivos alterados com 0 adições e 36 exclusões
  1. 0 36
      vite.config.js

+ 0 - 36
vite.config.js

@@ -66,42 +66,6 @@ export default defineConfig(({ command, mode }) => {
             // modernPolyfills: true,
             // modernPolyfills: true,
         })
         })
     ]
     ]
-    if (mode === 'production') {
-        plugins.push(
-            VitePWA({
-                registerType: 'autoUpdate',
-                manifest: {
-                    name: 'FirstCash',
-                    short_name: 'FirstCash',
-                    theme_color: '#161616',
-                    background_color: '#161616',
-                    display: 'fullscreen',
-                    icons: [
-                        {
-                            src: '/h5/icon-192x192.png',
-                            sizes: '192x192',
-                            type: 'image/png'
-                        },
-                        {
-                            src: '/h5/icon-256x256.png',
-                            sizes: '256x256',
-                            type: 'image/png'
-                        },
-                        {
-                            src: '/h5/icon-384x384.png',
-                            sizes: '384x384',
-                            type: 'image/png'
-                        },
-                        {
-                            src: '/h5/icon-512x512.png',
-                            sizes: '512x512',
-                            type: 'image/png'
-                        }
-                    ]
-                }
-            })
-        )
-    }
     return {
     return {
         base: process.env.VITE_BASE_URL,
         base: process.env.VITE_BASE_URL,
         server: {
         server: {