mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
chore: action
This commit is contained in:
@@ -24,5 +24,19 @@ export default defineConfig({
|
||||
minify: !process.env.TAURI_DEBUG ? 'esbuild' : false,
|
||||
// produce sourcemaps for debug builds
|
||||
sourcemap: !!process.env.TAURI_DEBUG,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
ant: ['antd'],
|
||||
antico: ['@ant-design/icons'],
|
||||
editor: ['@monaco-editor/react'],
|
||||
utils: ['lodash', 'uuid', 'dayjs', 'clsx'],
|
||||
rrr: ['react', 'react-dom', 'react-router-dom'],
|
||||
rm: ['react-markdown'],
|
||||
rsh: ['react-syntax-highlighter'],
|
||||
md: ['github-markdown-css', 'rehype-raw', 'remark-comment-config', 'remark-gfm'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user