mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-22 02:23:32 +00:00
fix chunking for widget app
This commit is contained in:
+17
-14
@@ -86,22 +86,25 @@ export default defineConfig(({ mode }) => {
|
||||
'radix': ['radix-vue', 'reka-ui'],
|
||||
'icons': ['lucide-vue-next', '@radix-icons/vue'],
|
||||
'utils': ['@vueuse/core', 'clsx', 'tailwind-merge', 'class-variance-authority'],
|
||||
'charts': ['@unovis/ts', '@unovis/vue'],
|
||||
'editor': [
|
||||
'@tiptap/vue-3',
|
||||
'@tiptap/starter-kit',
|
||||
'@tiptap/extension-image',
|
||||
'@tiptap/extension-link',
|
||||
'@tiptap/extension-placeholder',
|
||||
'@tiptap/extension-table',
|
||||
'@tiptap/extension-table-cell',
|
||||
'@tiptap/extension-table-header',
|
||||
'@tiptap/extension-table-row',
|
||||
],
|
||||
'forms': ['vee-validate', '@vee-validate/zod', 'zod'],
|
||||
'codemirror': ['codemirror', '@codemirror/lang-html', '@codemirror/lang-javascript', '@codemirror/theme-one-dark'],
|
||||
'table': ['@tanstack/vue-table'],
|
||||
'misc': ['axios', 'date-fns', 'mitt', 'qs', 'vue-i18n'],
|
||||
// Main-app-only chunks - widget doesn't use these libraries.
|
||||
...(!isWidget && {
|
||||
'charts': ['@unovis/ts', '@unovis/vue'],
|
||||
'editor': [
|
||||
'@tiptap/vue-3',
|
||||
'@tiptap/starter-kit',
|
||||
'@tiptap/extension-image',
|
||||
'@tiptap/extension-link',
|
||||
'@tiptap/extension-placeholder',
|
||||
'@tiptap/extension-table',
|
||||
'@tiptap/extension-table-cell',
|
||||
'@tiptap/extension-table-header',
|
||||
'@tiptap/extension-table-row',
|
||||
],
|
||||
'codemirror': ['codemirror', '@codemirror/lang-html', '@codemirror/lang-javascript', '@codemirror/theme-one-dark'],
|
||||
'table': ['@tanstack/vue-table'],
|
||||
}),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user