Skip to content

Commit 986fda3

Browse files
committed
Update vite.config.ts
1 parent c5f0550 commit 986fda3

File tree

1 file changed

+9
-20
lines changed

1 file changed

+9
-20
lines changed

demo/vite.config.ts

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default defineConfig({
3232
'@chakra-ui/icons',
3333
'@emotion/react',
3434
'@emotion/styled',
35-
'framer-motion'
35+
'framer-motion',
3636
],
3737
// Code editor and related packages
3838
codemirror: [
@@ -41,29 +41,18 @@ export default defineConfig({
4141
'@uiw/codemirror-theme-github',
4242
'@uiw/codemirror-theme-console',
4343
'@uiw/codemirror-theme-quietlight',
44-
'@uiw/codemirror-theme-monokai'
44+
'@uiw/codemirror-theme-monokai',
4545
],
4646
// Icons library
47-
icons: [
48-
'react-icons/fa',
49-
'react-icons/bi',
50-
'react-icons/ai'
51-
],
47+
icons: ['react-icons/fa', 'react-icons/bi', 'react-icons/ai'],
5248
// Core React packages
53-
vendor: [
54-
'react',
55-
'react-dom',
56-
'wouter',
57-
'use-undo'
58-
],
49+
vendor: ['react', 'react-dom', 'wouter', 'use-undo'],
5950
// JSON utilities
60-
json: [
61-
'json5',
62-
'ajv'
63-
]
64-
}
65-
}
66-
}
51+
json: ['json5', 'ajv'],
52+
},
53+
},
54+
},
55+
chunkSizeWarningLimit: 800,
6756
},
6857
define: {
6958
__BUILD_TIME__: JSON.stringify(

0 commit comments

Comments
 (0)