- COMPLETAMENTO PASSAGGIO A VITE - versione 1.2.2:
- Sistemato RefreshToken - Integrato modifiche di PiuCheBuono - Aggiornato a Node 22 - Aggiornato Server a Mongodb 8.0.
This commit is contained in:
@@ -121,7 +121,7 @@ export default defineConfig((ctx) => {
|
||||
'statics': path.resolve(__dirname, 'src/statics'),
|
||||
'components': path.resolve(__dirname, 'src/components'),
|
||||
'views': path.resolve(__dirname, 'src/views/index.ts'),
|
||||
'icons': path.resolve(__dirname, 'public/icons'),
|
||||
'icons': path.resolve(__dirname, 'public/myicons'),
|
||||
'images': path.resolve(__dirname, 'src/assets/images'),
|
||||
'maps': path.resolve(__dirname, 'public/maps'),
|
||||
'classes': path.resolve(__dirname, 'src/classes/index.ts'),
|
||||
@@ -142,7 +142,7 @@ export default defineConfig((ctx) => {
|
||||
'@views': path.resolve(__dirname, 'src/views/index.ts'),
|
||||
'@src': path.resolve(__dirname, 'src'),
|
||||
'@css': path.resolve(__dirname, 'src/public/css/variables.scss'),
|
||||
'@icons': path.resolve(__dirname, 'src/public/public/icons'),
|
||||
'@icons': path.resolve(__dirname, 'src/public/public/myicons'),
|
||||
'@images': path.resolve(__dirname, 'src/public/images/*'),
|
||||
'@maps': path.resolve(__dirname, 'src/public/maps/*'),
|
||||
'@classes': path.resolve(__dirname, 'src/classes/index.ts'),
|
||||
@@ -358,17 +358,9 @@ export default defineConfig((ctx) => {
|
||||
],
|
||||
},
|
||||
|
||||
sourceFiles: {
|
||||
pwaRegisterServiceWorker: 'src-pwa/register-service-worker',
|
||||
pwaServiceWorker: 'src-pwa/custom-service-worker',
|
||||
// pwaManifestFile: 'src-pwa/manifest.json',
|
||||
// ...
|
||||
},
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa
|
||||
pwa: {
|
||||
workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest'
|
||||
swFilename: process.env.VITE_SERVICE_WORKER_FILE,
|
||||
swFilename: 'service2.js',
|
||||
workboxOptions: {
|
||||
swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista
|
||||
},
|
||||
@@ -378,6 +370,13 @@ export default defineConfig((ctx) => {
|
||||
},
|
||||
},
|
||||
|
||||
sourceFiles: {
|
||||
// DEFAULT: pwaRegisterServiceWorker: 'src-pwa/register-service-worker',
|
||||
// DEFAULT: pwaServiceWorker: 'src-pwa/custom-service-worker',
|
||||
// DEFAULT: pwaManifestFile: 'src-pwa/manifest.json',
|
||||
// ...
|
||||
},
|
||||
|
||||
// Full list of options: https://v2.quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
|
||||
cordova: {
|
||||
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
|
||||
|
||||
Reference in New Issue
Block a user