fix: mermaid import

This commit is contained in:
Sidharth Vinod
2021-07-29 19:53:18 +05:30
parent bf8afc0c13
commit 0828d4393e
6 changed files with 2323 additions and 745 deletions
+4 -2
View File
@@ -10,7 +10,6 @@ const config = {
postcss: true
})
],
kit: {
adapter: adapter({
pages: `docs${process.env['BETA'] ? '/beta' : ''}`
@@ -23,7 +22,10 @@ const config = {
ssr: false,
// hydrate the <div id="svelte"> element in src/app.html
target: '#svelte',
trailingSlash: 'ignore'
trailingSlash: 'ignore',
vite: {
optimizeDeps: { include: ['mermaid'] }
}
}
};