mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-17 07:51:22 +08:00
fix: fs in ssr
This commit is contained in:
@ -84,6 +84,9 @@ export default defineConfig({
|
|||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
exclude: ['@resvg/resvg-js']
|
exclude: ['@resvg/resvg-js']
|
||||||
},
|
},
|
||||||
|
ssr: {
|
||||||
|
external: ['@resvg/resvg-js']
|
||||||
|
},
|
||||||
plugins: [tailwind(), rawFonts([".ttf", ".woff"])],
|
plugins: [tailwind(), rawFonts([".ttf", ".woff"])],
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user