Skip to content

Commit

Permalink
fix: initial 500 error when navigating from home page
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinderoubaix committed Jan 8, 2024
1 parent d0b7b55 commit 43fa1c2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions demo/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,16 @@ export default defineConfig({
define: {
'import.meta.env.AGNOSUI_VERSION': version,
},
optimizeDeps: {
include: [
'@amadeus-it-group/tansu',
'highlight.js/lib/core',
'highlight.js/lib/languages/typescript',
'highlight.js/lib/languages/css',
'highlight.js/lib/languages/scss',
'highlight.js/lib/languages/xml',
'highlight.js/lib/languages/bash',
'@floating-ui/dom',
],
},
});

0 comments on commit 43fa1c2

Please sign in to comment.