We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638fe06 commit 23842e6Copy full SHA for 23842e6
apps/website/vite.config.ts
@@ -98,7 +98,20 @@ export default defineConfig(async () => {
98
build: {
99
target: 'es2022',
100
rollupOptions: {
101
- // output,
+ output: {
102
+ manualChunks: (id: string) => {
103
+ if (id.includes('css-tree')) {
104
+ return 'css-tree';
105
+ }
106
+ if (
107
+ id.includes('tailwind-merge') ||
108
+ id.includes('clsx') ||
109
+ id.includes('cn')
110
+ ) {
111
+ return 'tailwind-merge';
112
113
+ },
114
115
},
116
117
preview: {
0 commit comments