9 changed files with 1936 additions and 367 deletions
			
			
		| @ -1,7 +1,3 @@ | |||||
| 
 | 
 | ||||
| # I tried setting values here and using `vue-cli-service build --mode development` | # I tried and failed to set things here with vue-cli-service but | ||||
| # but it didn't create some things in "dist": | # things may be more reliable with vite so let's try again. | ||||
| # - the "css" directory with the CSS extracted from Vue files |  | ||||
| # - the sw_scripts-combined* files |  | ||||
| # |  | ||||
| # ¯\_(ツ)_/¯ |  | ||||
|  | |||||
								
									
										File diff suppressed because it is too large
									
								
							
						
					| @ -1,17 +0,0 @@ | |||||
| 
 |  | ||||
| const TIME_SAFARI_APP_TITLE = |  | ||||
|   import.meta.env.VITE_TIME_SAFARI_APP_TITLE || require("./package.json").name; |  | ||||
| 
 |  | ||||
| module.exports = defineConfig({ |  | ||||
|   pwa: { |  | ||||
|     name: TIME_SAFARI_APP_TITLE, |  | ||||
|     iconPaths: { |  | ||||
|       faviconSVG: "img/icons/safari-pinned-tab.svg", |  | ||||
|     }, |  | ||||
|     workboxPluginMode: "InjectManifest", |  | ||||
|     workboxOptions: { |  | ||||
|       // this script will be checked for linting (sw_scripts/* files generate about 1000 linting errors)
 |  | ||||
|       swSrc: "./sw_scripts-combined.js", |  | ||||
|     }, |  | ||||
|   }, |  | ||||
| }); |  | ||||
					Loading…
					
					
				
		Reference in new issue