Diagrams working
This commit is contained in:
+10
-2
@@ -7,12 +7,20 @@ const config = {
|
||||
preprocess: [
|
||||
preprocess({
|
||||
postcss: true
|
||||
}),
|
||||
})
|
||||
],
|
||||
|
||||
kit: {
|
||||
// hydrate the <div id="svelte"> element in src/app.html
|
||||
target: '#svelte'
|
||||
target: '#svelte',
|
||||
vite: {
|
||||
// ssr: {
|
||||
// noExternal: []
|
||||
// },
|
||||
optimizeDeps: {
|
||||
include: ['mermaid']
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user