Skip to content

Commit d678b8f

Browse files
nextchamp-saqibmergify[bot]
authored andcommitted
fix: add echarts/core to optimizeDeps include list (#1027)
(cherry picked from commit a107db5)
1 parent feba344 commit d678b8f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

frontend/vite.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@ export default defineConfig({
5858
'.tsx': 'tsx',
5959
},
6060
},
61-
include: ['feather-icons', 'showdown', 'tailwind.config.js', 'highlight.js/lib/core'],
61+
include: [
62+
'feather-icons',
63+
'showdown',
64+
'tailwind.config.js',
65+
'highlight.js/lib/core',
66+
'echarts/core',
67+
],
6268
},
6369
define: {
6470
// enable hydration mismatch details in production build

0 commit comments

Comments
 (0)