1- const Dotenv = require ( ' dotenv-webpack' ) ;
1+ const Dotenv = require ( " dotenv-webpack" ) ;
22
33module . exports = {
4- pwa : {
5- workboxPluginMode : "InjectManifest" ,
6- workboxOptions : {
7- swSrc : "public/service-worker.js"
8- } ,
9- manifestOptions : {
10- name : "Two Weeks Ready" ,
11- short_name : "Two Weeks Ready" ,
12- description : "Support preparedness and alerting related to emergency situations." ,
13- start_url : "/index.html" ,
14- background_color : "#F7F1C7" ,
15- theme_color : "#D75727" ,
16- "icons" : [
4+ css : {
5+ sourceMap : true
6+ } ,
7+ pwa : {
8+ workboxPluginMode : "InjectManifest" ,
9+ workboxOptions : {
10+ swSrc : "public/service-worker.js"
11+ } ,
12+ manifestOptions : {
13+ name : "Two Weeks Ready" ,
14+ short_name : "Two Weeks Ready" ,
15+ description :
16+ "Support preparedness and alerting related to emergency situations." ,
17+ start_url : "/index.html" ,
18+ background_color : "#F7F1C7" ,
19+ theme_color : "#D75727" ,
20+ icons : [
1721 {
18- " src" : "./img/icons/android-chrome-192x192.png" ,
19- " sizes" : "192x192" ,
20- " type" : "image/png"
22+ src : "./img/icons/android-chrome-192x192.png" ,
23+ sizes : "192x192" ,
24+ type : "image/png"
2125 } ,
2226 {
23- " src" : "./img/icons/android-chrome-512x512.png" ,
24- " sizes" : "512x512" ,
25- " type" : "image/png"
27+ src : "./img/icons/android-chrome-512x512.png" ,
28+ sizes : "512x512" ,
29+ type : "image/png"
2630 } ,
2731 {
28- " src" : "./img/icons/android-chrome-maskable-192x192.png" ,
29- " sizes" : "192x192" ,
30- " type" : "image/png" ,
31- " purpose" : "maskable"
32+ src : "./img/icons/android-chrome-maskable-192x192.png" ,
33+ sizes : "192x192" ,
34+ type : "image/png" ,
35+ purpose : "maskable"
3236 } ,
3337 {
34- " src" : "./img/icons/android-chrome-maskable-512x512.png" ,
35- " sizes" : "512x512" ,
36- " type" : "image/png" ,
37- " purpose" : "maskable"
38+ src : "./img/icons/android-chrome-maskable-512x512.png" ,
39+ sizes : "512x512" ,
40+ type : "image/png" ,
41+ purpose : "maskable"
3842 } ,
3943 {
40- " src" : "./img/icons/apple-touch-icon-60x60.png" ,
41- " sizes" : "60x60" ,
42- " type" : "image/png"
44+ src : "./img/icons/apple-touch-icon-60x60.png" ,
45+ sizes : "60x60" ,
46+ type : "image/png"
4347 } ,
4448 {
45- " src" : "./img/icons/apple-touch-icon-76x76.png" ,
46- " sizes" : "76x76" ,
47- " type" : "image/png"
49+ src : "./img/icons/apple-touch-icon-76x76.png" ,
50+ sizes : "76x76" ,
51+ type : "image/png"
4852 } ,
4953 {
50- " src" : "./img/icons/apple-touch-icon-120x120.png" ,
51- " sizes" : "120x120" ,
52- " type" : "image/png"
54+ src : "./img/icons/apple-touch-icon-120x120.png" ,
55+ sizes : "120x120" ,
56+ type : "image/png"
5357 } ,
5458 {
55- " src" : "./img/icons/apple-touch-icon-152x152.png" ,
56- " sizes" : "152x152" ,
57- " type" : "image/png"
59+ src : "./img/icons/apple-touch-icon-152x152.png" ,
60+ sizes : "152x152" ,
61+ type : "image/png"
5862 } ,
5963 {
60- " src" : "./img/icons/apple-touch-icon-180x180.png" ,
61- " sizes" : "180x180" ,
62- " type" : "image/png"
64+ src : "./img/icons/apple-touch-icon-180x180.png" ,
65+ sizes : "180x180" ,
66+ type : "image/png"
6367 } ,
6468 {
65- " src" : "./img/icons/apple-touch-icon.png" ,
66- " sizes" : "180x180" ,
67- " type" : "image/png"
69+ src : "./img/icons/apple-touch-icon.png" ,
70+ sizes : "180x180" ,
71+ type : "image/png"
6872 } ,
6973 {
70- " src" : "./img/icons/favicon-16x16.png" ,
71- " sizes" : "16x16" ,
72- " type" : "image/png"
74+ src : "./img/icons/favicon-16x16.png" ,
75+ sizes : "16x16" ,
76+ type : "image/png"
7377 } ,
7478 {
75- " src" : "./img/icons/favicon-32x32.png" ,
76- " sizes" : "32x32" ,
77- " type" : "image/png"
79+ src : "./img/icons/favicon-32x32.png" ,
80+ sizes : "32x32" ,
81+ type : "image/png"
7882 } ,
7983 {
80- " src" : "./img/icons/msapplication-icon-144x144.png" ,
81- " sizes" : "144x144" ,
82- " type" : "image/png"
84+ src : "./img/icons/msapplication-icon-144x144.png" ,
85+ sizes : "144x144" ,
86+ type : "image/png"
8387 } ,
8488 {
85- " src" : "./img/icons/mstile-150x150.png" ,
86- " sizes" : "150x150" ,
87- " type" : "image/png"
89+ src : "./img/icons/mstile-150x150.png" ,
90+ sizes : "150x150" ,
91+ type : "image/png"
8892 }
89- ] ,
90- }
91- } ,
92- configureWebpack : {
93- plugins : [
94- new Dotenv ( )
95- ]
93+ ]
94+ }
95+ } ,
96+ configureWebpack : {
97+ plugins : [ new Dotenv ( ) ]
9698 } ,
97- "transpileDependencies" : [
98- "vuetify"
99- ]
100- }
99+ transpileDependencies : [ "vuetify" ]
100+ } ;
0 commit comments