update vite config and added about modal
This commit is contained in:
@@ -20,9 +20,14 @@ export default defineConfig({
|
||||
main: resolve(__dirname, 'index.html'),
|
||||
},
|
||||
output: {
|
||||
entryFileNames: 'app.js',
|
||||
chunkFileNames: 'chunks/[name].js',
|
||||
assetFileNames: 'assets/[name].[ext]'
|
||||
entryFileNames: 'app-[hash].js',
|
||||
chunkFileNames: 'chunks/[name]-[hash].js',
|
||||
assetFileNames: 'assets/[name]-[hash].[ext]',
|
||||
manualChunks: {
|
||||
'vendor': ['vue', 'pinia'],
|
||||
'three': ['three'],
|
||||
'maplibre': ['maplibre-gl']
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user