fix:build issues
This commit is contained in:
@@ -7,14 +7,7 @@ export default defineConfig({
|
|||||||
preview: { allowedHosts: ['ziasvannes.tech'] },
|
preview: { allowedHosts: ['ziasvannes.tech'] },
|
||||||
build: {
|
build: {
|
||||||
target: 'es2020',
|
target: 'es2020',
|
||||||
cssCodeSplit: true,
|
cssCodeSplit: true
|
||||||
rollupOptions: {
|
|
||||||
output: {
|
|
||||||
manualChunks: {
|
|
||||||
maplibre: ['maplibre-gl', 'svelte-maplibre']
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
include: ['maplibre-gl', 'svelte-maplibre']
|
include: ['maplibre-gl', 'svelte-maplibre']
|
||||||
|
|||||||
Reference in New Issue
Block a user