mirror of
				https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
				synced 2025-10-31 18:27:45 +00:00 
			
		
		
		
	
							
								
								
									
										2496
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2496
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "ucentral-client", |   "name": "ucentral-client", | ||||||
|   "version": "2.10.0(36)", |   "version": "2.10.0(37)", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "private": true, |   "private": true, | ||||||
|   "main": "index.tsx", |   "main": "index.tsx", | ||||||
| @@ -91,6 +91,7 @@ | |||||||
|     "eslint-plugin-react-hooks": "^4.6.0", |     "eslint-plugin-react-hooks": "^4.6.0", | ||||||
|     "lint-staged": "^13.2.1", |     "lint-staged": "^13.2.1", | ||||||
|     "prettier": "^2.8.7", |     "prettier": "^2.8.7", | ||||||
|  |     "vite-plugin-pwa": "^0.14.7", | ||||||
|     "vite-tsconfig-paths": "^4.2.0" |     "vite-tsconfig-paths": "^4.2.0" | ||||||
|   }, |   }, | ||||||
|   "browserslist": { |   "browserslist": { | ||||||
|   | |||||||
| @@ -1,9 +1,50 @@ | |||||||
| import { defineConfig } from 'vite'; | import { defineConfig } from 'vite'; | ||||||
| import tsconfigPaths from 'vite-tsconfig-paths'; | import tsconfigPaths from 'vite-tsconfig-paths'; | ||||||
| import react from '@vitejs/plugin-react'; | import react from '@vitejs/plugin-react'; | ||||||
|  | import { VitePWA } from 'vite-plugin-pwa'; | ||||||
|  |  | ||||||
| export default defineConfig({ | export default defineConfig({ | ||||||
|   plugins: [tsconfigPaths(), react()], |   plugins: [ | ||||||
|  |     tsconfigPaths(), | ||||||
|  |     react(), | ||||||
|  |     VitePWA({ | ||||||
|  |       selfDestroying: true, | ||||||
|  |       registerType: 'autoUpdate', | ||||||
|  |       devOptions: { | ||||||
|  |         enabled: true, | ||||||
|  |         /* other options */ | ||||||
|  |       }, | ||||||
|  |       manifest: { | ||||||
|  |         name: 'OpenWiFi Controller App', | ||||||
|  |         short_name: 'OpenWiFiController', | ||||||
|  |         description: 'OpenWiFi Controller App', | ||||||
|  |         theme_color: '#000000', | ||||||
|  |         icons: [ | ||||||
|  |           { | ||||||
|  |             src: 'android-chrome-192x192.png', | ||||||
|  |             sizes: '192x192', | ||||||
|  |             type: 'image/png', | ||||||
|  |           }, | ||||||
|  |           { | ||||||
|  |             src: 'android-chrome-384x384.png', | ||||||
|  |             sizes: '384x384', | ||||||
|  |             type: 'image/png', | ||||||
|  |           }, | ||||||
|  |           { | ||||||
|  |             src: 'android-chrome-512x512.png', | ||||||
|  |             sizes: '512x512', | ||||||
|  |             type: 'image/png', | ||||||
|  |           }, | ||||||
|  |           { | ||||||
|  |             src: 'android-chrome-512x512.png', | ||||||
|  |             sizes: '512x512', | ||||||
|  |             type: 'image/png', | ||||||
|  |             purpose: 'any maskable', | ||||||
|  |           }, | ||||||
|  |         ], | ||||||
|  |       }, | ||||||
|  |     }), | ||||||
|  |   ], | ||||||
|   build: { |   build: { | ||||||
|     outDir: './build', |     outDir: './build', | ||||||
|     chunkSizeWarningLimit: 1000, |     chunkSizeWarningLimit: 1000, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Charles Bourque
					Charles Bourque