Skip to content

Commit 34f0bd3

Browse files
Merge pull request #35 from pascal-brand38/fix-leaflet
Fix map not displayed in 2022-08-23-sample-mdx-post
2 parents 1f73513 + 656c285 commit 34f0bd3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

astro.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ import markdoc from '@astrojs/markdoc'
1717
// https://astro.build/config
1818
export default defineConfig({
1919
vite: {
20-
plugins: [tailwindcss()]
20+
plugins: [tailwindcss()],
21+
optimizeDeps: {
22+
include: ['astro-leaflet > leaflet'],
23+
}
2124
},
2225
site: 'https://hellotham.github.io',
2326
base: '/hello-astro/',

0 commit comments

Comments
 (0)