fix some bugs

This commit is contained in:
2026-06-27 13:49:00 +03:30
parent c3b47e33e1
commit 4d004c3515
13 changed files with 331 additions and 57 deletions
+17 -1
View File
@@ -23,7 +23,7 @@ export default defineConfig({
enabled: true
},
workbox: {
cleanupOutdatedCaches: false,
cleanupOutdatedCaches: true,
clientsClaim: true,
skipWaiting: true
},
@@ -93,6 +93,22 @@ export default defineConfig({
server: {
port: 3100,
},
build: {
rollupOptions: {
output: {
manualChunks(id) {
if (
id.includes('node_modules/moment-jalaali')
|| id.includes('node_modules/jalaali-js')
|| id.includes('node_modules/moment/')
|| id.includes('/src/utils/useDateTime')
) {
return 'datetime'
}
},
},
},
},
// base: `/single`,
// base: `/customer`,
css: {