File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -2,38 +2,6 @@ import { defineConfig } from 'vite';
22import eslint from '@nabla/vite-plugin-eslint' ;
33import react from '@vitejs/plugin-react' ;
44import svgr from 'vite-plugin-svgr' ;
5- import { VitePWA } from 'vite-plugin-pwa' ;
6-
7- const PWAConfig = {
8- includeAssets : [ 'favicon.ico' , 'robots.txt' ] ,
9- manifest : {
10- short_name : 'Smart Shopping List' ,
11- name : 'TCL Smart Shopping List' ,
12- description :
13- "A smart shopping list that learns your purchase habits and makes suggestions, so you don't forget to buy what's important." ,
14- icons : [
15- {
16- src : 'favicon.ico' ,
17- sizes : '64x64 32x32 24x24 16x16' ,
18- type : 'image/x-icon' ,
19- } ,
20- {
21- src : 'logo192.png' ,
22- type : 'image/png' ,
23- sizes : '192x192' ,
24- } ,
25- {
26- src : 'logo512.png' ,
27- type : 'image/png' ,
28- sizes : '512x512' ,
29- } ,
30- ] ,
31- start_url : '.' ,
32- display : 'standalone' ,
33- theme_color : '#000000' ,
34- background_color : '#ffffff' ,
35- } ,
36- } ;
375
386// https://vitejs.dev/config/
397export default defineConfig ( ( { mode } ) => ( {
@@ -60,7 +28,6 @@ export default defineConfig(({ mode }) => ({
6028 mode === 'development' && eslint ( ) ,
6129 react ( ) ,
6230 svgr ( { exportAsDefault : true } ) ,
63- VitePWA ( PWAConfig ) ,
6431 ] ,
6532 server : { open : true , port : 3000 } ,
6633 test : {
You can’t perform that action at this time.
0 commit comments