File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 88 "theme_color" : " #000000" ,
99 "icons" : [
1010 {
11- "src" : " ./src/assets/images/TeXlyre_notext .png" ,
11+ "src" : " ./texlyre-icon-192 .png" ,
1212 "sizes" : " 192x192" ,
1313 "type" : " image/png" ,
1414 "purpose" : " any maskable"
Original file line number Diff line number Diff line change 1- const CACHE_NAME = ` texlyre-v ${ process . env . npm_package_version || '1' } ` ;
1+ const CACHE_NAME = ' texlyre-v1' ;
22const BASE_PATH = '/texlyre/' ;
33
44console . log ( '[SW] Service Worker loading with base path:' , BASE_PATH ) ;
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ const useHttps = process.env.VITE_USE_HTTPS === "true";
1111export default defineConfig ( {
1212 base : "/texlyre/" ,
1313
14+ define : {
15+ 'process.env.npm_package_version' : JSON . stringify ( process . env . npm_package_version || '1.0.0' )
16+ } ,
17+
1418 build : {
1519 target : "esnext" ,
1620 commonjsOptions : {
You can’t perform that action at this time.
0 commit comments